Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001434/0.001434, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001743/0.001743, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9663/0.9663, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003145, allocations: 12 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 82.32 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3482/0.4884, allocations: 110.6 MB / 0.6953 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.5183, allocations: 19.91 MB / 0.7147 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.5233, allocations: 103.2 kB / 0.7148 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005434/0.5288, allocations: 1.366 MB / 0.7162 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0186/0.5474, allocations: 4.183 MB / 0.7203 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.5583, allocations: 2.579 MB / 0.7228 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.5697, allocations: 3.919 MB / 0.7266 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004792/0.5745, allocations: 1.724 MB / 0.7283 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006516/0.5811, allocations: 2.013 MB / 0.7303 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.5847, allocations: 1.254 MB / 0.7315 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008018/0.5856, allocations: 90.59 kB / 0.7316 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005508/0.5911, allocations: 1.346 MB / 0.7329 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.592, allocations: 405.3 kB / 0.7333 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.5934, allocations: 0.5521 MB / 0.7338 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.5989, allocations: 3.112 MB / 0.7368 GB, free: 2.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5989, allocations: 0 / 0.7368 GB, free: 2.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.599, allocations: 0 / 0.7368 GB, free: 2.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000141/0.5991, allocations: 0 / 0.7368 GB, free: 2.816 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006894/0.606, allocations: 2.708 MB / 0.7395 GB, free: 328 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6061, allocations: 9.094 kB / 0.7395 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008069/0.6069, allocations: 219.8 kB / 0.7397 GB, free: 88 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/0.6119, allocations: 0.9605 MB / 0.7406 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.6174, allocations: 2.071 MB / 0.7427 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009948/0.6184, allocations: 326.8 kB / 0.743 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.6188, allocations: 160 kB / 0.7431 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.6237, allocations: 1.962 MB / 0.745 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.6237, allocations: 3.938 kB / 0.745 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.6239, allocations: 64 kB / 0.7451 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.624, allocations: 39.95 kB / 0.7451 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004989/0.629, allocations: 1.905 MB / 0.747 GB, free: 8.461 MB / 0.5606 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.01402/0.643, allocations: 9.179 MB / 0.756 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.6476, allocations: 1.338 MB / 0.7573 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.6488, allocations: 1.714 MB / 0.759 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.6489, allocations: 46.56 kB / 0.759 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/0.6489, allocations: 0 / 0.759 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008547/0.6574, allocations: 2.493 MB / 0.7614 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.6575, allocations: 85.11 kB / 0.7615 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/0.6623, allocations: 2.567 MB / 0.764 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.6625, allocations: 45.64 kB / 0.7641 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009861/0.6635, allocations: 1.054 MB / 0.7651 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.6638, allocations: 272.2 kB / 0.7654 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.6639, allocations: 20 kB / 0.7654 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.664, allocations: 349.9 kB / 0.7657 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.6658, allocations: 0.6232 MB / 0.7663 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.6679, allocations: 0.9973 MB / 0.7673 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.6698, allocations: 0.6857 MB / 0.768 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.6699, allocations: 4 kB / 0.768 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005427/0.6753, allocations: 1.968 MB / 0.7699 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6753, allocations: 8 kB / 0.7699 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6754, allocations: 8 kB / 0.7699 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.6772, allocations: 0.4973 MB / 0.7704 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.6784, allocations: 303.6 kB / 0.7707 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.6806, allocations: 1.564 MB / 0.7722 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.6838, allocations: 477.9 kB / 0.7727 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.6839, allocations: 59.97 kB / 0.7727 GB, free: 12.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008693/0.6848, allocations: 461.5 kB / 0.7732 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/0.6853, allocations: 248.9 kB / 0.7734 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.689, allocations: 1.551 MB / 0.7749 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.689, allocations: 12 kB / 0.7749 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.689, allocations: 3.938 kB / 0.7749 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.689, allocations: 3.984 kB / 0.7749 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0076/0.6966, allocations: 3.749 MB / 0.7786 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6967, allocations: 4 kB / 0.7786 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.6972, allocations: 136.2 kB / 0.7787 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.6989, allocations: 0.5087 MB / 0.7792 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.6989, allocations: 27.94 kB / 0.7792 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.7015, allocations: 1.641 MB / 0.7808 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7015, allocations: 4 kB / 0.7808 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/0.7074, allocations: 2.342 MB / 0.7831 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.7086, allocations: 0.5249 MB / 0.7836 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/0.7092, allocations: 23.98 kB / 0.7837 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.7112, allocations: 191.6 kB / 0.7839 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.7113, allocations: 59.86 kB / 0.7839 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.7114, allocations: 43.95 kB / 0.784 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003272/0.7147, allocations: 1.812 MB / 0.7857 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7147, allocations: 0 / 0.7857 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002152/0.7168, allocations: 0.6906 MB / 0.7864 GB, free: 14.39 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007428/0.7243, allocations: 4.187 MB / 0.7905 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.7284, allocations: 1.436 MB / 0.7919 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7284, allocations: 0 / 0.7919 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.7307, allocations: 0.729 MB / 0.7926 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/0.7366, allocations: 1.247 MB / 0.7938 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7469, allocations: 10.89 MB / 0.8045 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.7479, allocations: 1.536 MB / 0.806 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001903/0.7498, allocations: 431.8 kB / 0.8064 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.751, allocations: 0.9015 MB / 0.8072 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.751, allocations: 0 / 0.8072 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.75/2.501, allocations: 68.11 MB / 0.8738 GB, free: 213 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/2.501, allocations: 246.6 kB / 0.874 GB, free: 212.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/6.524, allocations: 3.125 kB / 0.874 GB, free: 212.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: