Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008619, allocations: 99.62 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.0009393/0.0009393, 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.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8547/0.8547, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3025/0.4483, allocations: 59.11 MB / 0.6449 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.4627, allocations: 15.05 MB / 0.6596 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.4646, allocations: 64.44 kB / 0.6597 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4665, allocations: 0.7005 MB / 0.6604 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.4723, allocations: 2.306 MB / 0.6626 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.4763, allocations: 1.543 MB / 0.6641 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.4801, allocations: 2.28 MB / 0.6663 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.4814, allocations: 1.029 MB / 0.6674 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.4836, allocations: 1.26 MB / 0.6686 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.4846, allocations: 0.7774 MB / 0.6693 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4847, allocations: 57.72 kB / 0.6694 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.487, allocations: 0.9794 MB / 0.6704 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.4873, allocations: 244 kB / 0.6706 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.4876, allocations: 370.8 kB / 0.6709 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.4902, allocations: 2.282 MB / 0.6732 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.4902, allocations: 0 / 0.6732 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4902, allocations: 0.9688 kB / 0.6732 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.4902, allocations: 0 / 0.6732 GB, free: 1.172 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002795/0.493, allocations: 1.725 MB / 0.6749 GB, free: 20 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.493, allocations: 8.406 kB / 0.6749 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.4952, allocations: 0.4965 MB / 0.6753 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.4975, allocations: 1.43 MB / 0.6767 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.4979, allocations: 146.1 kB / 0.6769 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.498, allocations: 106.5 kB / 0.677 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.5005, allocations: 1.314 MB / 0.6783 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5005, allocations: 4.938 kB / 0.6783 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.5006, allocations: 43.89 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5006, allocations: 26.12 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.5032, allocations: 1.152 MB / 0.6795 GB, free: 13.82 MB / 0.5137 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.008477/0.5117, allocations: 7.217 MB / 0.6865 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.5148, allocations: 0.8963 MB / 0.6874 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.5159, allocations: 1.711 MB / 0.6891 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.516, allocations: 38.77 kB / 0.6891 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.516, allocations: 0 / 0.6891 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004532/0.5205, allocations: 1.445 MB / 0.6905 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.5206, allocations: 57.5 kB / 0.6906 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.5229, allocations: 1.54 MB / 0.6921 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.523, allocations: 37.36 kB / 0.6921 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.5235, allocations: 0.6737 MB / 0.6928 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.5237, allocations: 170.1 kB / 0.6929 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.5237, allocations: 14.94 kB / 0.6929 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5238, allocations: 333.8 kB / 0.6933 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009492/0.5248, allocations: 384.1 kB / 0.6936 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5259, allocations: 0.6548 MB / 0.6943 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/0.5269, allocations: 439.5 kB / 0.6947 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5269, allocations: 6.188 kB / 0.6947 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002744/0.5297, allocations: 1.211 MB / 0.6959 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5297, allocations: 7.812 kB / 0.6959 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5297, allocations: 10.28 kB / 0.6959 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.5306, allocations: 233.7 kB / 0.6961 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.5313, allocations: 191.5 kB / 0.6963 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008358/0.5322, allocations: 0.7323 MB / 0.697 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.534, allocations: 264.7 kB / 0.6973 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.5341, allocations: 42.64 kB / 0.6973 GB, free: 1.715 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006856/0.5348, allocations: 355.8 kB / 0.6976 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.535, allocations: 145.9 kB / 0.6978 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.5372, allocations: 1.179 MB / 0.6989 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5372, allocations: 11.25 kB / 0.6989 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5372, allocations: 0 / 0.6989 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5373, allocations: 7.469 kB / 0.6989 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.5423, allocations: 2.611 MB / 0.7015 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5423, allocations: 1.25 kB / 0.7015 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.5427, allocations: 89.08 kB / 0.7016 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007064/0.5434, allocations: 229.8 kB / 0.7018 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.5434, allocations: 18.58 kB / 0.7018 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.5447, allocations: 0.8081 MB / 0.7026 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5447, allocations: 2.219 kB / 0.7026 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.5479, allocations: 1.372 MB / 0.7039 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/0.5485, allocations: 374.5 kB / 0.7043 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5486, allocations: 13.47 kB / 0.7043 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.5496, allocations: 108.8 kB / 0.7044 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.5496, allocations: 44.34 kB / 0.7045 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.5497, allocations: 28.56 kB / 0.7045 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001693/0.5514, allocations: 1.09 MB / 0.7056 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5514, allocations: 0 / 0.7056 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001393/0.5528, allocations: 437.9 kB / 0.706 GB, free: 12.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008483/0.5537, allocations: 473.6 kB / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.5557, allocations: 0.8677 MB / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5557, allocations: 0 / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.5569, allocations: 475.2 kB / 0.7077 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.5599, allocations: 0.6964 MB / 0.7084 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.5645, allocations: 2.709 MB / 0.711 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/0.5652, allocations: 1.198 MB / 0.7122 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001104/0.5663, allocations: 264 kB / 0.7125 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.5666, allocations: 114.5 kB / 0.7126 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/0.5666, allocations: 0 / 0.7126 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of Templates: time 0.04649/0.6131, allocations: 29.36 MB / 0.7412 GB, free: 13.38 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: