Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 104.3 kB / 16.64 MB, free: 6.82 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.001669/0.001669, allocations: 197.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.365/1.365, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7818/0.7818, allocations: 122.9 MB / 414.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.89 kB / 0.4912 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3754, allocations: 77.9 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1137/0.4891, allocations: 131 MB / 0.6953 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03213/0.5213, allocations: 23.07 MB / 0.7178 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005474/0.5268, allocations: 111.3 kB / 0.7179 GB, free: 408 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004672/0.5316, allocations: 1.278 MB / 0.7192 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.5438, allocations: 3.822 MB / 0.7229 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.5497, allocations: 1.984 MB / 0.7248 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009493/0.5592, allocations: 6.586 MB / 0.7313 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/0.5635, allocations: 2.353 MB / 0.7336 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007552/0.5711, allocations: 2.755 MB / 0.7363 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.5748, allocations: 1.949 MB / 0.7382 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.5759, allocations: 247.9 kB / 0.7384 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005499/0.5815, allocations: 1.965 MB / 0.7403 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.5826, allocations: 0.5915 MB / 0.7409 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003113/0.5857, allocations: 1.473 MB / 0.7423 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006/0.5917, allocations: 3.376 MB / 0.7456 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5918, allocations: 0 / 0.7456 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5918, allocations: 4 kB / 0.7456 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001451/0.5919, allocations: 0 / 0.7456 GB, free: 3.914 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.008101/0.6, allocations: 3.18 MB / 0.7487 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6001, allocations: 8.625 kB / 0.7487 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3048/0.905, allocations: 0.8396 MB / 0.7496 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.9103, allocations: 2.257 MB / 0.7518 GB, free: 166 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/0.9114, allocations: 289 kB / 0.752 GB, free: 166 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/0.9118, allocations: 161.7 kB / 0.7522 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.9167, allocations: 1.942 MB / 0.7541 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.9168, allocations: 4.938 kB / 0.7541 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.9169, allocations: 70.66 kB / 0.7542 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/0.917, allocations: 37.62 kB / 0.7542 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.9227, allocations: 1.827 MB / 0.756 GB, free: 164.5 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.01417/0.9369, allocations: 9.029 MB / 0.7648 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.9411, allocations: 1.195 MB / 0.766 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.9421, allocations: 459.8 kB / 0.7664 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008601/0.943, allocations: 1.719 MB / 0.7681 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.9431, allocations: 50.92 kB / 0.7681 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.806e-06/0.9431, allocations: 0 / 0.7681 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008522/0.9516, allocations: 2.337 MB / 0.7704 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.9517, allocations: 83.92 kB / 0.7705 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004214/0.9559, allocations: 2.519 MB / 0.773 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.9561, allocations: 43.7 kB / 0.773 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.9568, allocations: 1.046 MB / 0.774 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.9571, allocations: 269.7 kB / 0.7743 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.9576, allocations: 257.4 kB / 0.7745 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.9577, allocations: 351.4 kB / 0.7749 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.9593, allocations: 0.5872 MB / 0.7754 GB, free: 151 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.9613, allocations: 0.9655 MB / 0.7764 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.964, allocations: 1.266 MB / 0.7776 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.9641, allocations: 4.312 kB / 0.7776 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006495/0.9706, allocations: 2.049 MB / 0.7796 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.9706, allocations: 8.094 kB / 0.7796 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.9706, allocations: 7.656 kB / 0.7796 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.9725, allocations: 0.4939 MB / 0.7801 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.9738, allocations: 284.9 kB / 0.7804 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.9758, allocations: 1.521 MB / 0.7819 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.9791, allocations: 438.7 kB / 0.7823 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.9793, allocations: 59.31 kB / 0.7823 GB, free: 146.6 MB / 0.5762 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000849/0.9801, allocations: 460.4 kB / 0.7828 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.9807, allocations: 247.8 kB / 0.783 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.9838, allocations: 1.509 MB / 0.7845 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.9838, allocations: 11.84 kB / 0.7845 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9839, allocations: 0 / 0.7845 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.9839, allocations: 3.984 kB / 0.7845 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.9904, allocations: 3.616 MB / 0.788 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.9905, allocations: 3.938 kB / 0.788 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.9911, allocations: 130.5 kB / 0.7882 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.9926, allocations: 488.3 kB / 0.7886 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.9927, allocations: 30.33 kB / 0.7887 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.9949, allocations: 1.583 MB / 0.7902 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9949, allocations: 3.906 kB / 0.7902 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/1, allocations: 1.946 MB / 0.7921 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.002, allocations: 493.5 kB / 0.7926 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.002, allocations: 12 kB / 0.7926 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.004, allocations: 175.7 kB / 0.7928 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/1.004, allocations: 59.81 kB / 0.7928 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/1.004, allocations: 47.95 kB / 0.7929 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00243/1.006, allocations: 1.762 MB / 0.7946 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.006, allocations: 3.938 kB / 0.7946 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001916/1.008, allocations: 0.6905 MB / 0.7953 GB, free: 136.5 MB / 0.5762 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.009, allocations: 0.5885 MB / 0.7958 GB, free: 136 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003797/1.013, allocations: 1.405 MB / 0.7972 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.013, allocations: 0 / 0.7972 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.015, allocations: 0.6819 MB / 0.7979 GB, free: 133.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005895/1.021, allocations: 1.333 MB / 0.7992 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/1.027, allocations: 4.345 MB / 0.8034 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/1.028, allocations: 1.474 MB / 0.8049 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/1.028, allocations: 195.3 kB / 0.805 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/1.028, allocations: 0 / 0.805 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05832/1.086, allocations: 62.17 MB / 0.8658 GB, free: 64.65 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)