Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001511, allocations: 189.5 kB / 16.62 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.549 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.5 kB / 0.6717 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2062, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5987/0.805, allocations: 162.4 MB / 0.9422 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.8098, allocations: 2.875 MB / 0.945 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.8105, allocations: 13.22 kB / 0.945 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.8112, allocations: 208.3 kB / 0.9452 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.8133, allocations: 0.7716 MB / 0.946 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.8141, allocations: 344.9 kB / 0.9463 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.8154, allocations: 0.9266 MB / 0.9472 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.8158, allocations: 251 kB / 0.9475 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.8164, allocations: 339.1 kB / 0.9478 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.8173, allocations: 282.7 kB / 0.948 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.8174, allocations: 33.03 kB / 0.9481 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.8192, allocations: 0.6438 MB / 0.9487 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.8195, allocations: 137.6 kB / 0.9488 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.8198, allocations: 211 kB / 0.949 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.8216, allocations: 0.7451 MB / 0.9498 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8216, allocations: 0.75 kB / 0.9498 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8216, allocations: 0 / 0.9498 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8216, allocations: 0 / 0.9498 GB, free: 1.262 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001369/0.823, allocations: 0.7188 MB / 0.9505 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.8231, allocations: 10.09 kB / 0.9505 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.8231, allocations: 59.23 kB / 0.9505 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.8242, allocations: 136.8 kB / 0.9507 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.8248, allocations: 414.1 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.8248, allocations: 17.72 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.8249, allocations: 26.16 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.8253, allocations: 276.8 kB / 0.9514 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.8253, allocations: 3.938 kB / 0.9514 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.8254, allocations: 9.906 kB / 0.9514 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.8254, allocations: 8.562 kB / 0.9514 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.8257, allocations: 195 kB / 0.9516 GB, free: 16.37 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.8273, allocations: 1.309 MB / 0.9529 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.8277, allocations: 194.9 kB / 0.953 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.8278, allocations: 100.6 kB / 0.9531 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.8279, allocations: 1.562 kB / 0.9531 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.8279, allocations: 35.84 kB / 0.9532 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.8279, allocations: 1.125 kB / 0.9532 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009186/0.8288, allocations: 413.7 kB / 0.9536 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.8289, allocations: 53.84 kB / 0.9536 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.8292, allocations: 298.4 kB / 0.9539 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.8292, allocations: 30.42 kB / 0.9539 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.8294, allocations: 193.3 kB / 0.9541 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.8294, allocations: 69.52 kB / 0.9542 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.8295, allocations: 45.14 kB / 0.9542 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8297, allocations: 337.5 kB / 0.9545 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.8299, allocations: 62.23 kB / 0.9546 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.8301, allocations: 127.8 kB / 0.9547 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.8303, allocations: 196.9 kB / 0.9549 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.8303, allocations: 5.5 kB / 0.9549 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003695/0.8307, allocations: 248.7 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8307, allocations: 9.938 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8307, allocations: 1.469 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8308, allocations: 3.375 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.831, allocations: 43.28 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.831, allocations: 3.25 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.8313, allocations: 17.81 kB / 0.9552 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.8313, allocations: 17.16 kB / 0.9553 GB, free: 14.35 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.8315, allocations: 155.4 kB / 0.9554 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.8316, allocations: 34.88 kB / 0.9554 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.8316, allocations: 36.39 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8316, allocations: 2.344 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-06/0.8317, allocations: 0 / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.8317, allocations: 5.469 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.8322, allocations: 404.9 kB / 0.9559 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8322, allocations: 0 / 0.9559 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.8324, allocations: 43.05 kB / 0.9559 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002699/0.8326, allocations: 43.55 kB / 0.9559 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.8327, allocations: 4.562 kB / 0.9559 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.8339, allocations: 1.511 MB / 0.9574 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8339, allocations: 0 / 0.9574 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.8345, allocations: 426.6 kB / 0.9578 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.8347, allocations: 130.4 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.8347, allocations: 9.75 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.835, allocations: 5.375 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.835, allocations: 14.77 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.835, allocations: 6.406 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002224/0.8353, allocations: 211.2 kB / 0.9582 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8353, allocations: 0 / 0.9582 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004543/0.8357, allocations: 105.5 kB / 0.9583 GB, free: 12.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009087/0.8367, allocations: 0.9664 MB / 0.9592 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.837, allocations: 168.3 kB / 0.9594 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.837, allocations: 0 / 0.9594 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.8373, allocations: 202 kB / 0.9596 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8383, allocations: 201.6 kB / 0.9598 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.8418, allocations: 2.897 MB / 0.9626 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.8422, allocations: 0.7931 MB / 0.9634 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.8425, allocations: 63.94 kB / 0.9634 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.8426, allocations: 103.5 kB / 0.9635 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.8426, allocations: 1.062 kB / 0.9635 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.8727, allocations: 8.948 MB / 0.9723 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.969/10.84, allocations: 2.766 kB / 0.9723 GB, free: 6.836 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)