Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009516/0.0009514, allocations: 96.27 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.5 kB / 16.57 MB, free: 6.863 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.378/1.378, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7147/0.7147, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004379, allocations: 11.98 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4221/0.6034, allocations: 59.09 MB / 0.6145 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02337/0.6269, allocations: 15.08 MB / 0.6293 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.6301, allocations: 59.5 kB / 0.6293 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.6336, allocations: 0.6975 MB / 0.63 GB, free: 7.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009136/0.6427, allocations: 2.318 MB / 0.6323 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.6486, allocations: 1.543 MB / 0.6338 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006087/0.6547, allocations: 2.282 MB / 0.636 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.6571, allocations: 1.031 MB / 0.637 GB, free: 3.043 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/0.6614, allocations: 1.27 MB / 0.6382 GB, free: 2.215 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.6639, allocations: 0.7779 MB / 0.639 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.6642, allocations: 61.59 kB / 0.6391 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.668, allocations: 0.9805 MB / 0.64 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.6684, allocations: 239.1 kB / 0.6402 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007218/0.6691, allocations: 372.2 kB / 0.6406 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.6727, allocations: 2.278 MB / 0.6428 GB, free: 15.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6727, allocations: 0 / 0.6428 GB, free: 15.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6727, allocations: 0 / 0.6428 GB, free: 15.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.326e-05/0.6727, allocations: 0 / 0.6428 GB, free: 15.3 MB / 478.1 MB 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.003619/0.6764, allocations: 1.734 MB / 0.6445 GB, free: 13.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6764, allocations: 6.562 kB / 0.6445 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.6787, allocations: 0.5 MB / 0.645 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.6813, allocations: 1.422 MB / 0.6464 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.6817, allocations: 144.2 kB / 0.6465 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.6818, allocations: 100.5 kB / 0.6466 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.6843, allocations: 1.312 MB / 0.6479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.6844, allocations: 6.938 kB / 0.6479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.6845, allocations: 45.11 kB / 0.648 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.6845, allocations: 27.59 kB / 0.648 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.6871, allocations: 1.152 MB / 0.6491 GB, free: 11.02 MB / 478.1 MB 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.01019/0.6973, allocations: 7.217 MB / 0.6562 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.7005, allocations: 0.8999 MB / 0.657 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.7022, allocations: 1.722 MB / 0.6587 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.7022, allocations: 38.94 kB / 0.6588 GB, free: 376 kB / 478.1 MB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.7022, allocations: 0 / 0.6588 GB, free: 376 kB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.005559/0.7078, allocations: 1.436 MB / 0.6602 GB, free: 14.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.7079, allocations: 63.78 kB / 0.6602 GB, free: 14.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.7105, allocations: 1.541 MB / 0.6617 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.7106, allocations: 37.7 kB / 0.6618 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/0.7114, allocations: 0.6653 MB / 0.6624 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.7116, allocations: 169.6 kB / 0.6626 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.7117, allocations: 16 kB / 0.6626 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.7119, allocations: 330 kB / 0.6629 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.7129, allocations: 389.8 kB / 0.6633 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.7141, allocations: 0.6588 MB / 0.6639 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7152, allocations: 437.9 kB / 0.6643 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.7152, allocations: 11.94 kB / 0.6643 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002899/0.7181, allocations: 1.213 MB / 0.6655 GB, free: 9.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.7181, allocations: 8 kB / 0.6655 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.7182, allocations: 7.953 kB / 0.6655 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009358/0.7191, allocations: 236.8 kB / 0.6658 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.7199, allocations: 191.7 kB / 0.666 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008481/0.7207, allocations: 0.7279 MB / 0.6667 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7225, allocations: 262.7 kB / 0.6669 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7226, allocations: 47.97 kB / 0.667 GB, free: 7.75 MB / 494.1 MB 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.0006737/0.7233, allocations: 353.5 kB / 0.6673 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.7235, allocations: 142.2 kB / 0.6674 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.7259, allocations: 1.18 MB / 0.6686 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.726, allocations: 11.98 kB / 0.6686 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.726, allocations: 0 / 0.6686 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.726, allocations: 0 / 0.6686 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/0.7313, allocations: 2.608 MB / 0.6711 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.7314, allocations: 0 / 0.6711 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.7317, allocations: 92.08 kB / 0.6712 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/0.7325, allocations: 228.5 kB / 0.6715 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.7326, allocations: 19.97 kB / 0.6715 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.7339, allocations: 0.8099 MB / 0.6723 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7339, allocations: 0.7031 kB / 0.6723 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.7375, allocations: 1.373 MB / 0.6736 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008193/0.7383, allocations: 378.8 kB / 0.674 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.7385, allocations: 15.98 kB / 0.674 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.7395, allocations: 111.8 kB / 0.6741 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.7396, allocations: 44.44 kB / 0.6741 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.7396, allocations: 31.98 kB / 0.6742 GB, free: 140 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001846/0.7415, allocations: 1.082 MB / 0.6752 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7415, allocations: 0 / 0.6752 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00143/0.7429, allocations: 439.4 kB / 0.6756 GB, free: 14.63 MB / 0.4981 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.001001/0.7439, allocations: 463.5 kB / 0.6761 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.7462, allocations: 0.8602 MB / 0.6769 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.7462, allocations: 4.25 kB / 0.6769 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.7475, allocations: 471.2 kB / 0.6774 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.7509, allocations: 0.6955 MB / 0.678 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.7553, allocations: 2.706 MB / 0.6807 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.7561, allocations: 1.203 MB / 0.6819 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001173/0.7573, allocations: 263.9 kB / 0.6821 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.7576, allocations: 111.4 kB / 0.6822 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.7576, allocations: 0 / 0.6822 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.05147/0.809, allocations: 29.36 MB / 0.7109 GB, free: 10.78 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)