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.001408/0.001408, allocations: 102.6 kB / 16.64 MB, free: 6.828 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.001459/0.001459, allocations: 193.9 kB / 17.57 MB, free: 5.93 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.336/1.336, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7943/0.7943, allocations: 122.9 MB / 414.2 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 0.4912 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3826, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05895/0.4416, allocations: 69.85 MB / 0.6355 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02413/0.4658, allocations: 18.8 MB / 0.6539 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.4689, allocations: 67.56 kB / 0.6539 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.4718, allocations: 0.6996 MB / 0.6546 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007879/0.4797, allocations: 2.657 MB / 0.6572 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.4838, allocations: 1.513 MB / 0.6587 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005762/0.4896, allocations: 4.058 MB / 0.6627 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.4919, allocations: 1.461 MB / 0.6641 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.4964, allocations: 1.772 MB / 0.6658 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.4986, allocations: 1.21 MB / 0.667 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000376/0.499, allocations: 179.9 kB / 0.6672 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.502, allocations: 1.435 MB / 0.6686 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.5024, allocations: 394.6 kB / 0.669 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.5036, allocations: 0.9216 MB / 0.6699 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.5067, allocations: 2.452 MB / 0.6722 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.5067, allocations: 7.984 kB / 0.6723 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.736e-06/0.5067, allocations: 0 / 0.6723 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.5067, allocations: 0 / 0.6723 GB, free: 15.3 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.003486/0.5102, allocations: 2.03 MB / 0.6742 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5103, allocations: 8.625 kB / 0.6742 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.5125, allocations: 450.4 kB / 0.6747 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.515, allocations: 1.5 MB / 0.6761 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.5154, allocations: 138 kB / 0.6763 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.5156, allocations: 100 kB / 0.6764 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5181, allocations: 1.301 MB / 0.6776 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5182, allocations: 3.938 kB / 0.6776 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.5183, allocations: 44 kB / 0.6777 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.5183, allocations: 24 kB / 0.6777 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.5209, allocations: 1.112 MB / 0.6788 GB, free: 8.391 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.008716/0.5296, allocations: 7.134 MB / 0.6858 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.5327, allocations: 0.8055 MB / 0.6865 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.5333, allocations: 286 kB / 0.6868 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.5346, allocations: 1.722 MB / 0.6885 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5347, allocations: 50.92 kB / 0.6885 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.5347, allocations: 0 / 0.6885 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004743/0.5394, allocations: 1.334 MB / 0.6899 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5395, allocations: 59.84 kB / 0.6899 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.5422, allocations: 1.521 MB / 0.6914 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.5423, allocations: 37.7 kB / 0.6914 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000588/0.5429, allocations: 0.6691 MB / 0.6921 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.5431, allocations: 165.6 kB / 0.6922 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.5434, allocations: 162.5 kB / 0.6924 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5435, allocations: 338 kB / 0.6927 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.5445, allocations: 357.8 kB / 0.6931 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.5457, allocations: 0.6304 MB / 0.6937 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.5475, allocations: 0.8561 MB / 0.6945 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.5475, allocations: 0 / 0.6945 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004345/0.5519, allocations: 1.345 MB / 0.6958 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5519, allocations: 8 kB / 0.6958 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5519, allocations: 4 kB / 0.6958 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000925/0.5529, allocations: 220.9 kB / 0.696 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.5537, allocations: 179.7 kB / 0.6962 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008961/0.5546, allocations: 0.7202 MB / 0.6969 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.5563, allocations: 238.7 kB / 0.6972 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.5565, allocations: 35.98 kB / 0.6972 GB, free: 4.332 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.0006808/0.5571, allocations: 361.5 kB / 0.6975 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.5575, allocations: 146.2 kB / 0.6977 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.56, allocations: 1.138 MB / 0.6988 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.5601, allocations: 11.98 kB / 0.6988 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5601, allocations: 3.938 kB / 0.6988 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5601, allocations: 11.98 kB / 0.6988 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.5654, allocations: 2.495 MB / 0.7012 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.5655, allocations: 7.938 kB / 0.7013 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.5658, allocations: 88.14 kB / 0.7013 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.5666, allocations: 212.5 kB / 0.7015 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.5667, allocations: 15.98 kB / 0.7016 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.568, allocations: 0.7709 MB / 0.7023 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.568, allocations: 3.984 kB / 0.7023 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.5714, allocations: 1.203 MB / 0.7035 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.5722, allocations: 350.9 kB / 0.7038 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.5725, allocations: 12 kB / 0.7038 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5736, allocations: 95.75 kB / 0.7039 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.5737, allocations: 52.38 kB / 0.704 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.5738, allocations: 27.98 kB / 0.704 GB, free: 13.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00204/0.5758, allocations: 1.07 MB / 0.705 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5758, allocations: 0 / 0.705 GB, free: 12.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001524/0.5774, allocations: 435.4 kB / 0.7055 GB, free: 11.68 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.001101/0.5785, allocations: 467.3 kB / 0.7059 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.581, allocations: 0.8679 MB / 0.7068 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/0.581, allocations: 0 / 0.7068 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.5824, allocations: 443.5 kB / 0.7072 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.586, allocations: 0.7495 MB / 0.7079 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.5908, allocations: 2.768 MB / 0.7106 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008794/0.5918, allocations: 1.169 MB / 0.7118 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.5922, allocations: 119.3 kB / 0.7119 GB, free: 5.078 MB / 0.545 GB Notification: Performance of SimCode: time 8.41e-07/0.5922, allocations: 0 / 0.7119 GB, free: 5.078 MB / 0.545 GB Notification: Performance of Templates: time 0.04899/0.6412, allocations: 33.82 MB / 0.7449 GB, free: 3.426 MB / 0.5762 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)