Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.001729/0.001729, allocations: 104.6 kB / 16.4 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001939, allocations: 196 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7567/0.7567, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.59 kB / 0.5679 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 77.94 MB / 0.644 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05469/0.1801, allocations: 61.13 MB / 0.7037 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1967, allocations: 12 MB / 0.7155 GB, free: 160 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002976/0.1998, allocations: 59.62 kB / 0.7155 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.202, allocations: 0.6948 MB / 0.7162 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.2079, allocations: 2.068 MB / 0.7182 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.2108, allocations: 1.208 MB / 0.7194 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004073/0.2149, allocations: 3.091 MB / 0.7224 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.2164, allocations: 1.1 MB / 0.7235 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.2191, allocations: 1.36 MB / 0.7248 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.2204, allocations: 0.8906 MB / 0.7257 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.2206, allocations: 116 kB / 0.7258 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.2233, allocations: 1.45 MB / 0.7272 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.2235, allocations: 298.8 kB / 0.7275 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.2243, allocations: 0.6842 MB / 0.7282 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.2273, allocations: 2.305 MB / 0.7304 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2273, allocations: 0 / 0.7304 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2274, allocations: 0 / 0.7304 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.2274, allocations: 0 / 0.7304 GB, free: 0.7734 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002809/0.2302, allocations: 1.775 MB / 0.7322 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2302, allocations: 8.625 kB / 0.7322 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.2304, allocations: 126.9 kB / 0.7323 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.2326, allocations: 415.6 kB / 0.7327 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.2346, allocations: 1.172 MB / 0.7338 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.2347, allocations: 62 kB / 0.7339 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2348, allocations: 87.98 kB / 0.734 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.2367, allocations: 0.9976 MB / 0.7349 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2368, allocations: 0 / 0.7349 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.2369, allocations: 32 kB / 0.735 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.2369, allocations: 23.98 kB / 0.735 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.2391, allocations: 0.8508 MB / 0.7358 GB, free: 11.05 MB / 0.5762 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.00595/0.2451, allocations: 5.231 MB / 0.7409 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.2486, allocations: 0.7813 MB / 0.7417 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.2493, allocations: 296.7 kB / 0.742 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.2499, allocations: 0.9063 MB / 0.7429 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2499, allocations: 42.5 kB / 0.7429 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.2499, allocations: 0 / 0.7429 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006954/0.2569, allocations: 1.696 MB / 0.7446 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.257, allocations: 63.33 kB / 0.7446 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.2586, allocations: 1.08 MB / 0.7457 GB, free: 312 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.2587, allocations: 37.7 kB / 0.7457 GB, free: 268 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.273/0.5317, allocations: 0.5285 MB / 0.7462 GB, free: 99.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.5319, allocations: 162.7 kB / 0.7464 GB, free: 99.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.5322, allocations: 137.9 kB / 0.7465 GB, free: 99.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.5323, allocations: 332.2 kB / 0.7468 GB, free: 99.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009941/0.5333, allocations: 306 kB / 0.7471 GB, free: 99.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5344, allocations: 0.5242 MB / 0.7476 GB, free: 98.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.5361, allocations: 0.7138 MB / 0.7483 GB, free: 98.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.5361, allocations: 4.469 kB / 0.7483 GB, free: 98.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002761/0.5389, allocations: 1.011 MB / 0.7493 GB, free: 98.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5389, allocations: 6.969 kB / 0.7493 GB, free: 98.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5389, allocations: 5.703 kB / 0.7493 GB, free: 98.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5402, allocations: 308.3 kB / 0.7496 GB, free: 98.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.5408, allocations: 128 kB / 0.7498 GB, free: 98.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.5421, allocations: 0.9021 MB / 0.7506 GB, free: 97.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.5433, allocations: 155.6 kB / 0.7508 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.5434, allocations: 31.03 kB / 0.7508 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/0.5446, allocations: 0.5111 MB / 0.7513 GB, free: 97.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/0.5456, allocations: 0.5213 MB / 0.7518 GB, free: 97.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001638/0.5472, allocations: 0.7058 MB / 0.7525 GB, free: 96.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.5473, allocations: 1.75 kB / 0.7525 GB, free: 96.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002766/0.55, allocations: 0.9997 MB / 0.7535 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5501, allocations: 8.406 kB / 0.7535 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5501, allocations: 5.125 kB / 0.7535 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5512, allocations: 298 kB / 0.7538 GB, free: 96.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.5519, allocations: 132.4 kB / 0.7539 GB, free: 96.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.5533, allocations: 0.8978 MB / 0.7548 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5546, allocations: 139.6 kB / 0.7549 GB, free: 95.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.5547, allocations: 30.42 kB / 0.7549 GB, free: 95.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.5549, allocations: 218.1 kB / 0.7552 GB, free: 95.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.5551, allocations: 121.5 kB / 0.7553 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.5574, allocations: 0.9156 MB / 0.7562 GB, free: 95.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5574, allocations: 5.359 kB / 0.7562 GB, free: 95.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5575, allocations: 1.125 kB / 0.7562 GB, free: 95.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5575, allocations: 2.766 kB / 0.7562 GB, free: 95.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/0.5628, allocations: 2.161 MB / 0.7583 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5628, allocations: 2.625 kB / 0.7583 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.5631, allocations: 61.11 kB / 0.7583 GB, free: 94.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.5642, allocations: 300 kB / 0.7586 GB, free: 93.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.5642, allocations: 17.22 kB / 0.7586 GB, free: 93.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.5657, allocations: 0.919 MB / 0.7595 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5657, allocations: 7.406 kB / 0.7596 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.5695, allocations: 1.151 MB / 0.7607 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.5699, allocations: 262.4 kB / 0.7609 GB, free: 92.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.57, allocations: 14.39 kB / 0.7609 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.5709, allocations: 72.47 kB / 0.761 GB, free: 92.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.571, allocations: 40.11 kB / 0.761 GB, free: 92.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.571, allocations: 23.3 kB / 0.7611 GB, free: 92.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001271/0.5723, allocations: 0.7491 MB / 0.7618 GB, free: 92.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5723, allocations: 0 / 0.7618 GB, free: 92.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001958/0.5743, allocations: 0.5786 MB / 0.7624 GB, free: 92.13 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004955/0.5793, allocations: 1.977 MB / 0.7643 GB, free: 91.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003509/0.5828, allocations: 1.112 MB / 0.7654 GB, free: 90.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5828, allocations: 1.375 kB / 0.7654 GB, free: 90.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/0.5837, allocations: 350 kB / 0.7657 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.5862, allocations: 0.5095 MB / 0.7662 GB, free: 90.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.6024, allocations: 8.452 MB / 0.7745 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.6028, allocations: 1.065 MB / 0.7755 GB, free: 84.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008/0.6036, allocations: 226.2 kB / 0.7757 GB, free: 84.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.6041, allocations: 417.1 kB / 0.7761 GB, free: 84.42 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.6041, allocations: 0 / 0.7761 GB, free: 84.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.6532, allocations: 33.48 MB / 0.8088 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.73, allocations: 7.938 kB / 0.8088 GB, free: 52.35 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)