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.001078/0.001078, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01071/0.01071, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.533/1.533, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9893/0.9893, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 11.94 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 82.31 MB / 0.588 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4795/0.7044, allocations: 68.8 MB / 0.6552 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.7265, allocations: 18.77 MB / 0.6735 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.7296, allocations: 59.25 kB / 0.6735 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.7322, allocations: 0.6555 MB / 0.6742 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008863/0.7411, allocations: 2.6 MB / 0.6767 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.7459, allocations: 1.497 MB / 0.6782 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009604/0.7555, allocations: 5.005 MB / 0.6831 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.7589, allocations: 1.151 MB / 0.6842 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.7647, allocations: 1.459 MB / 0.6856 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.7687, allocations: 1.106 MB / 0.6867 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008151/0.7695, allocations: 57.97 kB / 0.6868 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.7749, allocations: 1.219 MB / 0.6879 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.7758, allocations: 260.8 kB / 0.6882 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.7782, allocations: 0.8084 MB / 0.689 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007185/0.7854, allocations: 2.951 MB / 0.6919 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7854, allocations: 0 / 0.6919 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7855, allocations: 0 / 0.6919 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.057e-05/0.7855, allocations: 0 / 0.6919 GB, free: 4.766 MB / 0.5137 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.004908/0.7905, allocations: 1.716 MB / 0.6935 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.7905, allocations: 10.2 kB / 0.6936 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.7934, allocations: 0.4998 MB / 0.694 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.797, allocations: 1.506 MB / 0.6955 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.7974, allocations: 149.7 kB / 0.6957 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.7977, allocations: 103.2 kB / 0.6958 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.8009, allocations: 1.319 MB / 0.697 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.801, allocations: 2.188 kB / 0.697 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8011, allocations: 46.45 kB / 0.6971 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.8011, allocations: 30.66 kB / 0.6971 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/0.8044, allocations: 1.163 MB / 0.6983 GB, free: 1.352 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.01102/0.8154, allocations: 7.184 MB / 0.7053 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.8189, allocations: 0.893 MB / 0.7061 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.8197, allocations: 298.8 kB / 0.7064 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.8212, allocations: 1.719 MB / 0.7081 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.8213, allocations: 45.84 kB / 0.7081 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.8213, allocations: 0 / 0.7081 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005788/0.8271, allocations: 1.449 MB / 0.7096 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.8271, allocations: 60.16 kB / 0.7096 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.8305, allocations: 1.535 MB / 0.7111 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.8306, allocations: 37.98 kB / 0.7112 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/0.8314, allocations: 0.6635 MB / 0.7118 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.8316, allocations: 171.8 kB / 0.712 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.8317, allocations: 61.75 kB / 0.712 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8319, allocations: 340 kB / 0.7123 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.833, allocations: 387.1 kB / 0.7127 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.8344, allocations: 0.6564 MB / 0.7134 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.8364, allocations: 0.9 MB / 0.7142 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.8364, allocations: 2.312 kB / 0.7142 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005343/0.8418, allocations: 1.446 MB / 0.7157 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8418, allocations: 7.688 kB / 0.7157 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8418, allocations: 6 kB / 0.7157 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.8428, allocations: 229.5 kB / 0.7159 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.8436, allocations: 189.3 kB / 0.7161 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/0.8446, allocations: 0.7288 MB / 0.7168 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.8468, allocations: 262.1 kB / 0.717 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.847, allocations: 42.58 kB / 0.7171 GB, free: 3.641 MB / 0.5294 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 (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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008379/0.8478, allocations: 357.8 kB / 0.7174 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.8481, allocations: 144.9 kB / 0.7175 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.8508, allocations: 1.177 MB / 0.7187 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.8508, allocations: 10.86 kB / 0.7187 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.8508, allocations: 11.92 kB / 0.7187 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.8508, allocations: 4.922 kB / 0.7187 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.8568, allocations: 2.592 MB / 0.7213 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.8569, allocations: 2.312 kB / 0.7213 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.8572, allocations: 97.66 kB / 0.7213 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/0.8581, allocations: 223.3 kB / 0.7216 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.8582, allocations: 18.66 kB / 0.7216 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.8596, allocations: 0.8018 MB / 0.7224 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8596, allocations: 3 kB / 0.7224 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/0.8634, allocations: 1.284 MB / 0.7236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.8646, allocations: 375.8 kB / 0.724 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/0.8651, allocations: 12.62 kB / 0.724 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8665, allocations: 105.2 kB / 0.7241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.8666, allocations: 45.75 kB / 0.7241 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.8667, allocations: 23.55 kB / 0.7242 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002658/0.8694, allocations: 1.09 MB / 0.7252 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8694, allocations: 0 / 0.7252 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002084/0.8715, allocations: 431.4 kB / 0.7256 GB, free: 13.79 MB / 0.545 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.8728, allocations: 470.8 kB / 0.7261 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.8753, allocations: 0.875 MB / 0.7269 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8754, allocations: 0 / 0.7269 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.8768, allocations: 481.4 kB / 0.7274 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/0.8819, allocations: 0.7075 MB / 0.7281 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.8883, allocations: 2.784 MB / 0.7308 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.8895, allocations: 1.172 MB / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00172/0.8913, allocations: 263.9 kB / 0.7322 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.8917, allocations: 119.4 kB / 0.7323 GB, free: 6.879 MB / 0.545 GB Notification: Performance of SimCode: time 1.764e-06/0.8917, allocations: 0 / 0.7323 GB, free: 6.879 MB / 0.545 GB Notification: Performance of Templates: time 0.06128/0.953, allocations: 30.47 MB / 0.7621 GB, free: 8.742 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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)