Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 98.77 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.000994/0.0009942, allocations: 177.3 kB / 15.94 MB, free: 220 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.238/1.238, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8664/0.8664, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 12 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.2808/0.4285, allocations: 51.24 MB / 0.6372 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.44, allocations: 10.31 MB / 0.6473 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.4414, allocations: 50.78 kB / 0.6473 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.443, allocations: 0.6255 MB / 0.648 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.4473, allocations: 1.944 MB / 0.6499 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.4501, allocations: 1.312 MB / 0.6511 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002787/0.4529, allocations: 1.85 MB / 0.6529 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.454, allocations: 0.8021 MB / 0.6537 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.4555, allocations: 0.9838 MB / 0.6547 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.4561, allocations: 0.6021 MB / 0.6553 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.4561, allocations: 43.38 kB / 0.6553 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.458, allocations: 0.9906 MB / 0.6563 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.4582, allocations: 194.7 kB / 0.6565 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.4584, allocations: 288.2 kB / 0.6567 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.4597, allocations: 1.578 MB / 0.6583 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.4597, allocations: 0 / 0.6583 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4597, allocations: 0 / 0.6583 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4597, allocations: 0 / 0.6583 GB, free: 11.35 MB / 0.4981 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.002234/0.4619, allocations: 1.477 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.462, allocations: 16.09 kB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.464, allocations: 467.9 kB / 0.6602 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.4655, allocations: 1.056 MB / 0.6612 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.4659, allocations: 124.8 kB / 0.6613 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.466, allocations: 78.56 kB / 0.6614 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.4678, allocations: 1.005 MB / 0.6624 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4678, allocations: 1.031 kB / 0.6624 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.4679, allocations: 31.38 kB / 0.6624 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4679, allocations: 18.69 kB / 0.6624 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.4701, allocations: 0.8981 MB / 0.6633 GB, free: 8.762 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.005301/0.4754, allocations: 4.922 MB / 0.6681 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.4786, allocations: 0.9144 MB / 0.669 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/0.479, allocations: 0.904 MB / 0.6699 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.479, allocations: 38.48 kB / 0.6699 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.479, allocations: 0 / 0.6699 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006812/0.4858, allocations: 1.935 MB / 0.6718 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.4859, allocations: 56.06 kB / 0.6719 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.4873, allocations: 1.066 MB / 0.6729 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.4873, allocations: 37.3 kB / 0.673 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.4877, allocations: 0.5217 MB / 0.6735 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4878, allocations: 153.9 kB / 0.6736 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.4879, allocations: 9.938 kB / 0.6736 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.4879, allocations: 333.8 kB / 0.6739 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/0.4888, allocations: 315 kB / 0.6742 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/0.4898, allocations: 0.5223 MB / 0.6748 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.4906, allocations: 356.6 kB / 0.6751 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4906, allocations: 1.094 kB / 0.6751 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003305/0.4939, allocations: 1.209 MB / 0.6763 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/0.4944, allocations: 1.669 MB / 0.6779 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4945, allocations: 4.125 kB / 0.6779 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.4957, allocations: 335 kB / 0.6782 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.4962, allocations: 126.3 kB / 0.6783 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.4976, allocations: 0.9342 MB / 0.6793 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4989, allocations: 196.9 kB / 0.6794 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.499, allocations: 33.12 kB / 0.6795 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.499, allocations: 4.281 kB / 0.6795 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00307/0.5021, allocations: 1.07 MB / 0.6805 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5021, allocations: 4.875 kB / 0.6805 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.5031, allocations: 325.3 kB / 0.6808 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.5036, allocations: 130.7 kB / 0.681 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.5049, allocations: 0.9411 MB / 0.6819 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.506, allocations: 170.9 kB / 0.6821 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.5061, allocations: 29.45 kB / 0.6821 GB, free: 13.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004904/0.5066, allocations: 347.4 kB / 0.6824 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.5068, allocations: 116.6 kB / 0.6825 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.509, allocations: 0.978 MB / 0.6835 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.509, allocations: 6.328 kB / 0.6835 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.509, allocations: 0 / 0.6835 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.509, allocations: 4.062 kB / 0.6835 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.514, allocations: 2.265 MB / 0.6857 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5141, allocations: 3.547 kB / 0.6857 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.5143, allocations: 67.25 kB / 0.6858 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009884/0.5153, allocations: 333.9 kB / 0.6861 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.5154, allocations: 13.22 kB / 0.6861 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.5168, allocations: 0.9709 MB / 0.687 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5168, allocations: 3.031 kB / 0.687 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.5203, allocations: 1.378 MB / 0.6884 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.5208, allocations: 285.2 kB / 0.6887 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5209, allocations: 14.14 kB / 0.6887 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/0.5218, allocations: 114.8 kB / 0.6888 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.5219, allocations: 36.5 kB / 0.6888 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.522, allocations: 23.5 kB / 0.6888 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001118/0.5231, allocations: 0.7495 MB / 0.6896 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5231, allocations: 0 / 0.6896 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001491/0.5246, allocations: 0.5686 MB / 0.6901 GB, free: 9.324 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006407/0.5252, allocations: 369.6 kB / 0.6905 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.5281, allocations: 1.163 MB / 0.6916 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5281, allocations: 0 / 0.6916 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.529, allocations: 369.3 kB / 0.692 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.531, allocations: 0.4911 MB / 0.6925 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.5359, allocations: 2.489 MB / 0.6949 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.5365, allocations: 1.087 MB / 0.6959 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008383/0.5373, allocations: 217.6 kB / 0.6962 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5375, allocations: 75.86 kB / 0.6962 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.5375, allocations: 0 / 0.6962 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of Templates: time 0.03379/0.5713, allocations: 23.21 MB / 0.7189 GB, free: 4.535 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: