Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001008/0.001008, allocations: 112.6 kB / 16.37 MB, free: 6 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.001063/0.001063, allocations: 196 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4215, allocations: 80.19 MB / 0.5815 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06954/0.4911, allocations: 70.44 MB / 0.6503 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/0.5189, allocations: 18.91 MB / 0.6688 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.5221, allocations: 71.56 kB / 0.6688 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.5248, allocations: 0.8229 MB / 0.6696 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00935/0.5342, allocations: 2.85 MB / 0.6724 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.5392, allocations: 1.653 MB / 0.674 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006463/0.5457, allocations: 4.039 MB / 0.678 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.5486, allocations: 1.453 MB / 0.6794 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.5543, allocations: 1.773 MB / 0.6811 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.557, allocations: 1.184 MB / 0.6823 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006379/0.5577, allocations: 172 kB / 0.6824 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.5617, allocations: 1.408 MB / 0.6838 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007684/0.5625, allocations: 394.6 kB / 0.6842 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.5646, allocations: 0.9176 MB / 0.6851 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.571, allocations: 3.116 MB / 0.6881 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5711, allocations: 4 kB / 0.6881 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5711, allocations: 0 / 0.6881 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001054/0.5712, allocations: 0 / 0.6881 GB, free: 0.7617 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.006243/0.5774, allocations: 2.027 MB / 0.6901 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5775, allocations: 8.031 kB / 0.6901 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.5801, allocations: 449.8 kB / 0.6905 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.5841, allocations: 1.547 MB / 0.6921 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.5843, allocations: 82.03 kB / 0.6921 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.5846, allocations: 112 kB / 0.6922 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.5877, allocations: 1.313 MB / 0.6935 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.5878, allocations: 4 kB / 0.6935 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5879, allocations: 47.98 kB / 0.6936 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.588, allocations: 27.94 kB / 0.6936 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.591, allocations: 1.101 MB / 0.6947 GB, free: 9.824 MB / 0.5294 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.01113/0.6022, allocations: 7.497 MB / 0.702 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.6054, allocations: 0.8018 MB / 0.7028 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.606, allocations: 278 kB / 0.703 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.6077, allocations: 1.734 MB / 0.7047 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.6078, allocations: 38.94 kB / 0.7048 GB, free: 14.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/0.6078, allocations: 0 / 0.7048 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004853/0.6127, allocations: 1.33 MB / 0.7061 GB, free: 13.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.6127, allocations: 59.78 kB / 0.7061 GB, free: 13.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.6161, allocations: 1.545 MB / 0.7076 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6162, allocations: 37.7 kB / 0.7077 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.617, allocations: 0.6768 MB / 0.7083 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.6172, allocations: 169.6 kB / 0.7085 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.6177, allocations: 178.4 kB / 0.7087 GB, free: 10.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6178, allocations: 337.9 kB / 0.709 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.6188, allocations: 361.8 kB / 0.7093 GB, free: 9.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.6201, allocations: 0.6641 MB / 0.71 GB, free: 9.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.6221, allocations: 0.879 MB / 0.7108 GB, free: 8.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.6221, allocations: 4 kB / 0.7108 GB, free: 8.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003256/0.6254, allocations: 1.189 MB / 0.712 GB, free: 6.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.6254, allocations: 8 kB / 0.712 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.6254, allocations: 11.98 kB / 0.712 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009984/0.6265, allocations: 232.5 kB / 0.7122 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.6272, allocations: 187.7 kB / 0.7124 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009606/0.6282, allocations: 0.724 MB / 0.7131 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.63, allocations: 214.7 kB / 0.7133 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.6301, allocations: 47.98 kB / 0.7134 GB, free: 5.383 MB / 0.545 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 (84): * Single equations (assignments): 83 * 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.0007397/0.6309, allocations: 349.6 kB / 0.7137 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.6313, allocations: 154.1 kB / 0.7139 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.6339, allocations: 1.138 MB / 0.715 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.6339, allocations: 7.984 kB / 0.715 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.634, allocations: 4 kB / 0.715 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.634, allocations: 7.984 kB / 0.715 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.6399, allocations: 2.506 MB / 0.7174 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.6399, allocations: 0 / 0.7174 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.6403, allocations: 92.06 kB / 0.7175 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007588/0.6411, allocations: 208.6 kB / 0.7177 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.6411, allocations: 19.98 kB / 0.7177 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.6424, allocations: 0.7708 MB / 0.7185 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6424, allocations: 7.969 kB / 0.7185 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.6459, allocations: 1.211 MB / 0.7197 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.6467, allocations: 346.9 kB / 0.72 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/0.6471, allocations: 19.94 kB / 0.72 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6481, allocations: 75.91 kB / 0.7201 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6483, allocations: 40.5 kB / 0.7202 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.6483, allocations: 27.98 kB / 0.7202 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002192/0.6505, allocations: 1.078 MB / 0.7212 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6505, allocations: 0 / 0.7212 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001661/0.6522, allocations: 447.4 kB / 0.7217 GB, free: 12.74 MB / 0.5606 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.001228/0.6534, allocations: 483.3 kB / 0.7221 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6558, allocations: 0.8445 MB / 0.7229 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6558, allocations: 0 / 0.7229 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.657, allocations: 443.8 kB / 0.7234 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/0.6605, allocations: 0.7401 MB / 0.7241 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.665, allocations: 2.253 MB / 0.7263 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.6659, allocations: 1.172 MB / 0.7274 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00117/0.6671, allocations: 274 kB / 0.7277 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.6674, allocations: 115.3 kB / 0.7278 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6674, allocations: 0 / 0.7278 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of Templates: time 0.3507/1.018, allocations: 31.48 MB / 0.7585 GB, free: 148.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)