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.001284/0.001284, allocations: 101 kB / 16.27 MB, free: 5.93 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.001302/0.001302, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.88 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 77.93 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05041/0.3617, allocations: 61.12 MB / 0.627 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.379, allocations: 12 MB / 0.6387 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.3816, allocations: 59.62 kB / 0.6387 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.384, allocations: 0.683 MB / 0.6394 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.3905, allocations: 1.959 MB / 0.6413 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.3939, allocations: 1.2 MB / 0.6425 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.3982, allocations: 3.075 MB / 0.6455 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.4002, allocations: 1.094 MB / 0.6466 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.404, allocations: 1.323 MB / 0.6479 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.4056, allocations: 0.8905 MB / 0.6487 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.406, allocations: 116 kB / 0.6488 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.4094, allocations: 1.447 MB / 0.6503 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.4098, allocations: 286.8 kB / 0.6505 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.411, allocations: 0.692 MB / 0.6512 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.4148, allocations: 2.271 MB / 0.6534 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4148, allocations: 0 / 0.6534 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4148, allocations: 0 / 0.6534 GB, free: 2.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.871e-05/0.4149, allocations: 3.938 kB / 0.6534 GB, free: 2.352 MB / 494.1 MB 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.003516/0.4184, allocations: 1.717 MB / 0.6551 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4185, allocations: 20.55 kB / 0.6551 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.4187, allocations: 118.9 kB / 0.6552 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.4211, allocations: 410.8 kB / 0.6556 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.4237, allocations: 1.109 MB / 0.6567 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.4241, allocations: 113.9 kB / 0.6568 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4242, allocations: 84 kB / 0.6569 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.4265, allocations: 1.001 MB / 0.6579 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4265, allocations: 7.938 kB / 0.6579 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.4266, allocations: 32 kB / 0.6579 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4266, allocations: 23.94 kB / 0.6579 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.429, allocations: 0.8508 MB / 0.6588 GB, free: 12.69 MB / 0.4981 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.006873/0.4358, allocations: 5.271 MB / 0.6639 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.4393, allocations: 0.8047 MB / 0.6647 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.44, allocations: 296.7 kB / 0.665 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.4406, allocations: 0.9103 MB / 0.6659 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.4407, allocations: 38.5 kB / 0.6659 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.4407, allocations: 0 / 0.6659 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007154/0.4479, allocations: 1.758 MB / 0.6676 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4479, allocations: 55.41 kB / 0.6677 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.4496, allocations: 1.076 MB / 0.6687 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.4497, allocations: 41.7 kB / 0.6688 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.4501, allocations: 0.5273 MB / 0.6693 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4503, allocations: 153.8 kB / 0.6694 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.4505, allocations: 138.1 kB / 0.6696 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4507, allocations: 329.9 kB / 0.6699 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/0.4516, allocations: 315.2 kB / 0.6702 GB, free: 336 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4527, allocations: 0.5291 MB / 0.6707 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.4544, allocations: 0.7211 MB / 0.6714 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4544, allocations: 4 kB / 0.6714 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002848/0.4573, allocations: 1.02 MB / 0.6724 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4573, allocations: 11.94 kB / 0.6724 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4573, allocations: 4 kB / 0.6724 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.4586, allocations: 324.6 kB / 0.6727 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.4592, allocations: 131.8 kB / 0.6728 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.4607, allocations: 0.9132 MB / 0.6737 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.462, allocations: 155.3 kB / 0.6739 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.4621, allocations: 27.98 kB / 0.6739 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/0.4633, allocations: 0.5129 MB / 0.6744 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/0.4644, allocations: 0.529 MB / 0.6749 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001679/0.4661, allocations: 0.714 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.4661, allocations: 7.938 kB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002759/0.4688, allocations: 1.02 MB / 0.6766 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4689, allocations: 4 kB / 0.6766 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4689, allocations: 12.03 kB / 0.6766 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.4701, allocations: 308.6 kB / 0.6769 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.4706, allocations: 127.8 kB / 0.6771 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.4721, allocations: 0.9091 MB / 0.678 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.4734, allocations: 143.5 kB / 0.6781 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.4735, allocations: 27.98 kB / 0.6781 GB, free: 7.773 MB / 0.5137 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.0002111/0.4737, allocations: 217 kB / 0.6783 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4739, allocations: 110.7 kB / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.4763, allocations: 0.9301 MB / 0.6793 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.4763, allocations: 11.98 kB / 0.6793 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4763, allocations: 4 kB / 0.6794 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4763, allocations: 0 / 0.6794 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.4814, allocations: 2.165 MB / 0.6815 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4814, allocations: 0 / 0.6815 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4817, allocations: 59.89 kB / 0.6815 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.4827, allocations: 307 kB / 0.6818 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.4828, allocations: 19.98 kB / 0.6818 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.4842, allocations: 0.9464 MB / 0.6828 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4842, allocations: 4 kB / 0.6828 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.4877, allocations: 1.156 MB / 0.6839 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.4882, allocations: 267.5 kB / 0.6841 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4883, allocations: 8 kB / 0.6842 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.4892, allocations: 75.91 kB / 0.6842 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.4893, allocations: 43.83 kB / 0.6843 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.4893, allocations: 23.98 kB / 0.6843 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001228/0.4906, allocations: 0.7512 MB / 0.685 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4906, allocations: 4 kB / 0.685 GB, free: 500 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001654/0.4923, allocations: 0.5654 MB / 0.6856 GB, free: 15.92 MB / 0.5294 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.004544/0.4968, allocations: 1.973 MB / 0.6875 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.5002, allocations: 1.152 MB / 0.6886 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5002, allocations: 0 / 0.6886 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.5012, allocations: 358.5 kB / 0.689 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.5036, allocations: 0.5007 MB / 0.6895 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.5216, allocations: 8.906 MB / 0.6982 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.5223, allocations: 1.057 MB / 0.6992 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009837/0.5233, allocations: 230.6 kB / 0.6994 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.5239, allocations: 419.3 kB / 0.6998 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.5239, allocations: 0 / 0.6998 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.586, allocations: 33.28 MB / 0.7323 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.76, allocations: 10.17 kB / 0.7323 GB, free: 15.95 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)