Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_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.004454/0.004454, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001142/0.001142, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3502, allocations: 80.92 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05575/0.406, allocations: 61.15 MB / 0.7239 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.4231, allocations: 11.98 MB / 0.7356 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.4251, allocations: 59.62 kB / 0.7356 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.427, allocations: 0.7026 MB / 0.7363 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.4319, allocations: 2.057 MB / 0.7383 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.4348, allocations: 1.208 MB / 0.7395 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.4389, allocations: 3.083 MB / 0.7425 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.4404, allocations: 1.1 MB / 0.7436 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.4434, allocations: 1.368 MB / 0.7449 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.4448, allocations: 0.8906 MB / 0.7458 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.445, allocations: 116 kB / 0.7459 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.4475, allocations: 1.443 MB / 0.7473 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.4478, allocations: 290.8 kB / 0.7476 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007944/0.4486, allocations: 0.6997 MB / 0.7483 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.4516, allocations: 2.306 MB / 0.7505 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4517, allocations: 7.984 kB / 0.7505 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4517, allocations: 0 / 0.7505 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.6e-05/0.4517, allocations: 8 kB / 0.7505 GB, free: 8.879 MB / 0.5762 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.003137/0.4549, allocations: 1.771 MB / 0.7523 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4549, allocations: 8.031 kB / 0.7523 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.4551, allocations: 122.9 kB / 0.7524 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.4573, allocations: 423.2 kB / 0.7528 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.4597, allocations: 1.168 MB / 0.7539 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.4598, allocations: 62 kB / 0.754 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4599, allocations: 84 kB / 0.7541 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.4619, allocations: 0.9956 MB / 0.755 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.462, allocations: 4 kB / 0.755 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.4621, allocations: 35.94 kB / 0.7551 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4621, allocations: 20 kB / 0.7551 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.4645, allocations: 0.8546 MB / 0.7559 GB, free: 3.156 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.006401/0.4709, allocations: 5.227 MB / 0.761 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.4745, allocations: 0.7895 MB / 0.7618 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.4752, allocations: 292.7 kB / 0.7621 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.4758, allocations: 0.9063 MB / 0.763 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4759, allocations: 38.56 kB / 0.763 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.4759, allocations: 0 / 0.763 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.007118/0.483, allocations: 1.69 MB / 0.7647 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4831, allocations: 59.34 kB / 0.7647 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.4846, allocations: 1.084 MB / 0.7658 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.4847, allocations: 37.7 kB / 0.7658 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.4852, allocations: 0.5437 MB / 0.7663 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.4853, allocations: 150.7 kB / 0.7665 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.4855, allocations: 138.2 kB / 0.7666 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4857, allocations: 330 kB / 0.7669 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.4866, allocations: 303.3 kB / 0.7672 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4877, allocations: 0.5368 MB / 0.7677 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.4895, allocations: 0.7057 MB / 0.7684 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4895, allocations: 4 kB / 0.7684 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002746/0.4922, allocations: 1.012 MB / 0.7694 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4923, allocations: 15.88 kB / 0.7694 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4923, allocations: 4 kB / 0.7694 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.4935, allocations: 308.6 kB / 0.7697 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.4941, allocations: 131.8 kB / 0.7699 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.4956, allocations: 0.8992 MB / 0.7707 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.4967, allocations: 151.4 kB / 0.7709 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.4968, allocations: 31.98 kB / 0.7709 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/0.498, allocations: 0.509 MB / 0.7714 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.4991, allocations: 0.5212 MB / 0.7719 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001714/0.5008, allocations: 0.7098 MB / 0.7726 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/0.5008, allocations: 0 / 0.7726 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002675/0.5035, allocations: 1.005 MB / 0.7736 GB, free: 8 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5035, allocations: 8 kB / 0.7736 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.5035, allocations: 4.047 kB / 0.7736 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.5046, allocations: 300.7 kB / 0.7739 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.5052, allocations: 127.8 kB / 0.774 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.5066, allocations: 0.9035 MB / 0.7749 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5078, allocations: 139.7 kB / 0.775 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.5078, allocations: 31.98 kB / 0.7751 GB, free: 14.48 MB / 0.6075 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.0001984/0.508, allocations: 224 kB / 0.7753 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.5082, allocations: 123.2 kB / 0.7754 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.5106, allocations: 0.9223 MB / 0.7763 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5106, allocations: 7.984 kB / 0.7763 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5106, allocations: 0 / 0.7763 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5106, allocations: 0 / 0.7763 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.5157, allocations: 2.138 MB / 0.7784 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5157, allocations: 3.938 kB / 0.7784 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.516, allocations: 60.23 kB / 0.7785 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000984/0.517, allocations: 302.5 kB / 0.7787 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.5171, allocations: 15.98 kB / 0.7788 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.5185, allocations: 0.9231 MB / 0.7797 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5185, allocations: 3.938 kB / 0.7797 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.5221, allocations: 1.153 MB / 0.7808 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.5225, allocations: 272.1 kB / 0.7811 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.5227, allocations: 12 kB / 0.7811 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.5235, allocations: 71.91 kB / 0.7811 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.5236, allocations: 39.83 kB / 0.7812 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.5237, allocations: 23.98 kB / 0.7812 GB, free: 8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001099/0.5248, allocations: 0.7512 MB / 0.7819 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5248, allocations: 4 kB / 0.7819 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001422/0.5262, allocations: 0.573 MB / 0.7825 GB, free: 6.664 MB / 0.6075 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.004595/0.5308, allocations: 1.971 MB / 0.7844 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00316/0.534, allocations: 1.113 MB / 0.7855 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.534, allocations: 3.938 kB / 0.7855 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.5349, allocations: 351.2 kB / 0.7858 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.5371, allocations: 0.5116 MB / 0.7863 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.554, allocations: 8.441 MB / 0.7946 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.5546, allocations: 1.069 MB / 0.7956 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007873/0.5554, allocations: 224.8 kB / 0.7958 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.556, allocations: 415.3 kB / 0.7962 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.556, allocations: 0 / 0.7962 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.6161, allocations: 33.47 MB / 0.8289 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.62, allocations: 11.89 kB / 0.8289 GB, free: 7.125 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)