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.001202/0.001202, allocations: 102.8 kB / 16.4 MB, free: 6.449 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.001267/0.001267, allocations: 196 kB / 17.34 MB, free: 5.719 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.687/0.687, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 64.33 kB / 0.5679 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 77.94 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05082/0.1666, allocations: 61.13 MB / 0.7037 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.1808, allocations: 12 MB / 0.7155 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1823, allocations: 55.69 kB / 0.7155 GB, free: 136 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.1838, allocations: 0.683 MB / 0.7162 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.1878, allocations: 1.963 MB / 0.7181 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1902, allocations: 1.207 MB / 0.7193 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.1934, allocations: 3.079 MB / 0.7223 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.1946, allocations: 1.091 MB / 0.7234 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.1967, allocations: 1.338 MB / 0.7247 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009635/0.1977, allocations: 0.8945 MB / 0.7255 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1979, allocations: 116 kB / 0.7256 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2002, allocations: 1.439 MB / 0.727 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.2005, allocations: 298.8 kB / 0.7273 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.2011, allocations: 0.688 MB / 0.728 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.2036, allocations: 2.295 MB / 0.7302 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2036, allocations: 0 / 0.7302 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2036, allocations: 0 / 0.7302 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.2036, allocations: 0 / 0.7302 GB, free: 0.9883 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.002509/0.2062, allocations: 1.73 MB / 0.7319 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2062, allocations: 16.62 kB / 0.732 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.2063, allocations: 122.9 kB / 0.7321 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.2083, allocations: 402.8 kB / 0.7325 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2102, allocations: 1.159 MB / 0.7336 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.2103, allocations: 66 kB / 0.7336 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2104, allocations: 80 kB / 0.7337 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.2121, allocations: 0.9975 MB / 0.7347 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2121, allocations: 7.984 kB / 0.7347 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.2122, allocations: 32 kB / 0.7347 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2122, allocations: 23.94 kB / 0.7348 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.2143, allocations: 0.8469 MB / 0.7356 GB, free: 11.33 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.005301/0.2196, allocations: 5.226 MB / 0.7407 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.2227, allocations: 0.7764 MB / 0.7414 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.2234, allocations: 298.4 kB / 0.7417 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.2239, allocations: 0.9063 MB / 0.7426 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.224, allocations: 46.5 kB / 0.7427 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.224, allocations: 0 / 0.7427 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006386/0.2304, allocations: 1.692 MB / 0.7443 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2304, allocations: 55.41 kB / 0.7444 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2317, allocations: 1.076 MB / 0.7454 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2318, allocations: 41.69 kB / 0.7455 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.2322, allocations: 0.5349 MB / 0.746 GB, free: 20 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2363/0.4685, allocations: 139 kB / 0.7461 GB, free: 99.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.4688, allocations: 134.6 kB / 0.7462 GB, free: 99.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.4689, allocations: 332 kB / 0.7466 GB, free: 99.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009624/0.4699, allocations: 313 kB / 0.7469 GB, free: 99.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4709, allocations: 0.5286 MB / 0.7474 GB, free: 98.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.4725, allocations: 0.7061 MB / 0.7481 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4725, allocations: 4.156 kB / 0.7481 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002614/0.4752, allocations: 1.008 MB / 0.749 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4752, allocations: 8.094 kB / 0.7491 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4752, allocations: 5.625 kB / 0.7491 GB, free: 98.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.4764, allocations: 309.2 kB / 0.7494 GB, free: 98.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.477, allocations: 131.5 kB / 0.7495 GB, free: 98.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.4782, allocations: 0.9041 MB / 0.7504 GB, free: 97.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.4794, allocations: 145.4 kB / 0.7505 GB, free: 97.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.4795, allocations: 39.33 kB / 0.7505 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/0.4806, allocations: 0.5033 MB / 0.751 GB, free: 97.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009552/0.4816, allocations: 0.5239 MB / 0.7515 GB, free: 97.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001508/0.4831, allocations: 0.7058 MB / 0.7522 GB, free: 96.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.4831, allocations: 1.188 kB / 0.7522 GB, free: 96.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002603/0.4857, allocations: 1.002 MB / 0.7532 GB, free: 96.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4857, allocations: 9 kB / 0.7532 GB, free: 96.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4858, allocations: 5.406 kB / 0.7532 GB, free: 96.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4868, allocations: 298.7 kB / 0.7535 GB, free: 96.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4874, allocations: 130.7 kB / 0.7536 GB, free: 96.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.4887, allocations: 0.8966 MB / 0.7545 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.4899, allocations: 128.3 kB / 0.7546 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.49, allocations: 34.44 kB / 0.7547 GB, free: 95.86 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.0002123/0.4902, allocations: 220.7 kB / 0.7549 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.4904, allocations: 119.5 kB / 0.755 GB, free: 95.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.4926, allocations: 0.9147 MB / 0.7559 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4926, allocations: 9.75 kB / 0.7559 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4926, allocations: 1.062 kB / 0.7559 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4926, allocations: 2.109 kB / 0.7559 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.4973, allocations: 2.141 MB / 0.758 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4974, allocations: 6.281 kB / 0.758 GB, free: 94.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.4976, allocations: 61.89 kB / 0.7581 GB, free: 94.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009752/0.4986, allocations: 298.5 kB / 0.7583 GB, free: 94.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.4987, allocations: 12.44 kB / 0.7583 GB, free: 94.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.5, allocations: 0.9255 MB / 0.7593 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5, allocations: 4.875 kB / 0.7593 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/0.5035, allocations: 1.142 MB / 0.7604 GB, free: 92.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.5038, allocations: 264.5 kB / 0.7606 GB, free: 92.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.504, allocations: 8.922 kB / 0.7606 GB, free: 92.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.5047, allocations: 71.84 kB / 0.7607 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.5048, allocations: 44.41 kB / 0.7607 GB, free: 92.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.5049, allocations: 27.11 kB / 0.7608 GB, free: 92.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001075/0.506, allocations: 0.7526 MB / 0.7615 GB, free: 92.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.506, allocations: 0 / 0.7615 GB, free: 92.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001605/0.5076, allocations: 0.5632 MB / 0.7621 GB, free: 92.35 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.004028/0.5116, allocations: 1.965 MB / 0.764 GB, free: 91.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.5145, allocations: 1.129 MB / 0.7651 GB, free: 90.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5146, allocations: 0 / 0.7651 GB, free: 90.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.5153, allocations: 343.8 kB / 0.7654 GB, free: 90.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.5173, allocations: 0.5021 MB / 0.7659 GB, free: 90.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.531, allocations: 8.421 MB / 0.7741 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.5314, allocations: 1.06 MB / 0.7752 GB, free: 85.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007042/0.5321, allocations: 226.4 kB / 0.7754 GB, free: 85.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.5325, allocations: 415.2 kB / 0.7758 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5325, allocations: 3.938 kB / 0.7758 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.58, allocations: 33.49 MB / 0.8085 GB, free: 52.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.23, allocations: 6.906 kB / 0.8085 GB, free: 52.7 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)