Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001198/0.001198, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7661/0.7661, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.66 kB / 0.5013 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1667, allocations: 80.21 MB / 0.5796 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4146/0.5814, allocations: 131 MB / 0.7075 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03487/0.6163, allocations: 23.03 MB / 0.73 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006568/0.6229, allocations: 115.1 kB / 0.7301 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005112/0.628, allocations: 1.285 MB / 0.7314 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01374/0.6418, allocations: 3.807 MB / 0.7351 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006896/0.6487, allocations: 1.988 MB / 0.737 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.6593, allocations: 6.569 MB / 0.7434 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.6629, allocations: 2.354 MB / 0.7457 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0077/0.6706, allocations: 2.767 MB / 0.7484 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.6745, allocations: 1.937 MB / 0.7503 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.675, allocations: 248 kB / 0.7506 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.6801, allocations: 1.953 MB / 0.7525 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.6809, allocations: 0.607 MB / 0.7531 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.6836, allocations: 1.45 MB / 0.7545 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007542/0.6911, allocations: 4.366 MB / 0.7588 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.6912, allocations: 3.984 kB / 0.7588 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6912, allocations: 0 / 0.7588 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.824e-05/0.6913, allocations: 0 / 0.7588 GB, free: 12.05 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006431/0.6977, allocations: 3.176 MB / 0.7619 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.6978, allocations: 12.03 kB / 0.7619 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004647/0.7024, allocations: 0.8395 MB / 0.7627 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.7078, allocations: 2.28 MB / 0.7649 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/0.7089, allocations: 294.8 kB / 0.7652 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/0.7092, allocations: 163.9 kB / 0.7654 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.7139, allocations: 1.938 MB / 0.7672 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.714, allocations: 3.938 kB / 0.7672 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.7141, allocations: 71.92 kB / 0.7673 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.7142, allocations: 36 kB / 0.7674 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004823/0.719, allocations: 1.807 MB / 0.7691 GB, free: 1.207 MB / 0.5762 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.01401/0.733, allocations: 9.015 MB / 0.7779 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.7373, allocations: 1.192 MB / 0.7791 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.7383, allocations: 461.4 kB / 0.7795 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.7396, allocations: 1.723 MB / 0.7812 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.7397, allocations: 46.5 kB / 0.7813 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.138e-06/0.7397, allocations: 3.984 kB / 0.7813 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008639/0.7483, allocations: 2.33 MB / 0.7835 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.7484, allocations: 85.11 kB / 0.7836 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.7522, allocations: 2.5 MB / 0.7861 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7523, allocations: 45.7 kB / 0.7861 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/0.7532, allocations: 1.037 MB / 0.7871 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.7535, allocations: 268.2 kB / 0.7874 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.7539, allocations: 254.6 kB / 0.7876 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7541, allocations: 345.9 kB / 0.7879 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.7558, allocations: 0.5881 MB / 0.7885 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.7577, allocations: 0.9621 MB / 0.7895 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.7606, allocations: 1.269 MB / 0.7907 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7606, allocations: 4 kB / 0.7907 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006131/0.7668, allocations: 2.051 MB / 0.7927 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.7668, allocations: 8 kB / 0.7927 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.7668, allocations: 8 kB / 0.7927 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.7684, allocations: 421.8 kB / 0.7931 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.7696, allocations: 291.5 kB / 0.7934 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.7716, allocations: 1.51 MB / 0.7949 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.7746, allocations: 434 kB / 0.7953 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.7747, allocations: 55.97 kB / 0.7953 GB, free: 4.891 MB / 0.6075 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009728/0.7757, allocations: 463.1 kB / 0.7958 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.7762, allocations: 248.9 kB / 0.796 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.7799, allocations: 1.497 MB / 0.7975 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.7799, allocations: 8 kB / 0.7975 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7799, allocations: 0 / 0.7975 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7799, allocations: 7.984 kB / 0.7975 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/0.7875, allocations: 3.605 MB / 0.801 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7876, allocations: 4 kB / 0.801 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.7882, allocations: 128.2 kB / 0.8011 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.7897, allocations: 420 kB / 0.8015 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.7898, allocations: 27.97 kB / 0.8016 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.7924, allocations: 1.569 MB / 0.8031 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7924, allocations: 7.938 kB / 0.8031 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/0.7984, allocations: 1.927 MB / 0.805 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/0.7994, allocations: 493.5 kB / 0.8055 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.7997, allocations: 16 kB / 0.8055 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.8015, allocations: 167.8 kB / 0.8056 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8017, allocations: 63.8 kB / 0.8057 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.8018, allocations: 39.97 kB / 0.8057 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003192/0.805, allocations: 1.75 MB / 0.8074 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.805, allocations: 4 kB / 0.8074 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002211/0.8072, allocations: 0.6827 MB / 0.8081 GB, free: 7.527 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.8084, allocations: 0.5974 MB / 0.8087 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004221/0.8126, allocations: 1.397 MB / 0.8101 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8126, allocations: 0 / 0.8101 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.8149, allocations: 0.6641 MB / 0.8107 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/0.8206, allocations: 1.326 MB / 0.812 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/0.827, allocations: 4.293 MB / 0.8162 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.828, allocations: 1.489 MB / 0.8177 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001943/0.83, allocations: 439.3 kB / 0.8181 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.8304, allocations: 171.4 kB / 0.8182 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8304, allocations: 0 / 0.8182 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of Templates: time 0.3526/1.183, allocations: 50.22 MB / 0.8673 GB, free: 221.3 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)