Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001527/0.001526, allocations: 104 kB / 16.27 MB, free: 5.98 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.001258/0.001259, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8495/0.8495, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3522, allocations: 80.92 MB / 0.585 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1339/0.4862, allocations: 132.2 MB / 0.7141 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03386/0.5201, allocations: 23.2 MB / 0.7368 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.5242, allocations: 123.2 kB / 0.7369 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.5286, allocations: 1.494 MB / 0.7384 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.5405, allocations: 4.088 MB / 0.7424 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.5463, allocations: 2.142 MB / 0.7445 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.5564, allocations: 6.519 MB / 0.7508 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3119/0.8684, allocations: 2.366 MB / 0.7531 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007213/0.8757, allocations: 2.741 MB / 0.7558 GB, free: 45.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004344/0.88, allocations: 1.886 MB / 0.7577 GB, free: 45.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.8813, allocations: 248 kB / 0.7579 GB, free: 45.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/0.8875, allocations: 1.934 MB / 0.7598 GB, free: 45.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.889, allocations: 0.5956 MB / 0.7604 GB, free: 45.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.8927, allocations: 1.462 MB / 0.7618 GB, free: 44.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00888/0.9016, allocations: 4.339 MB / 0.766 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9017, allocations: 3.219 kB / 0.766 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9017, allocations: 0 / 0.766 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.742e-05/0.9018, allocations: 0 / 0.766 GB, free: 44.36 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.008911/0.9107, allocations: 3.188 MB / 0.7691 GB, free: 42.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9107, allocations: 13.17 kB / 0.7692 GB, free: 42.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.9153, allocations: 0.8362 MB / 0.77 GB, free: 42.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.92, allocations: 2.212 MB / 0.7721 GB, free: 42.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009572/0.921, allocations: 296.5 kB / 0.7724 GB, free: 42.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.9214, allocations: 158.9 kB / 0.7726 GB, free: 42.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.9258, allocations: 1.934 MB / 0.7745 GB, free: 41.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.9259, allocations: 6.281 kB / 0.7745 GB, free: 41.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.926, allocations: 67.72 kB / 0.7745 GB, free: 41.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.9261, allocations: 37.22 kB / 0.7746 GB, free: 41.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.9308, allocations: 1.83 MB / 0.7763 GB, free: 41.82 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.01346/0.9443, allocations: 9.074 MB / 0.7852 GB, free: 37.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.9485, allocations: 1.202 MB / 0.7864 GB, free: 37.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.9496, allocations: 461.3 kB / 0.7868 GB, free: 37.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007798/0.9504, allocations: 1.716 MB / 0.7885 GB, free: 35.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.9505, allocations: 58.64 kB / 0.7886 GB, free: 35.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.806e-06/0.9505, allocations: 0 / 0.7886 GB, free: 35.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008512/0.959, allocations: 2.33 MB / 0.7908 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.959, allocations: 85.42 kB / 0.7909 GB, free: 34.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.963, allocations: 2.541 MB / 0.7934 GB, free: 34.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.9632, allocations: 44.95 kB / 0.7934 GB, free: 34.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00068/0.9639, allocations: 1.046 MB / 0.7945 GB, free: 34.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.9642, allocations: 268.7 kB / 0.7947 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.9646, allocations: 252.2 kB / 0.795 GB, free: 34.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.9647, allocations: 346.6 kB / 0.7953 GB, free: 33.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.9664, allocations: 0.5888 MB / 0.7959 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.9684, allocations: 0.9698 MB / 0.7968 GB, free: 33.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.9714, allocations: 1.267 MB / 0.798 GB, free: 33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.9714, allocations: 2.75 kB / 0.798 GB, free: 33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00646/0.9779, allocations: 2.054 MB / 0.8001 GB, free: 32.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.978, allocations: 10.97 kB / 0.8001 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.978, allocations: 7.188 kB / 0.8001 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.9797, allocations: 499.3 kB / 0.8005 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.9809, allocations: 287 kB / 0.8008 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.9828, allocations: 1.524 MB / 0.8023 GB, free: 31.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.9858, allocations: 393.8 kB / 0.8027 GB, free: 31.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.986, allocations: 68.48 kB / 0.8028 GB, free: 31.17 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.0009291/0.987, allocations: 461.1 kB / 0.8032 GB, free: 31.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006057/0.9876, allocations: 241.5 kB / 0.8034 GB, free: 30.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.9911, allocations: 1.501 MB / 0.8049 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.9911, allocations: 12.7 kB / 0.8049 GB, free: 30.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9911, allocations: 0 / 0.8049 GB, free: 30.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.9911, allocations: 7.766 kB / 0.8049 GB, free: 30.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/0.9985, allocations: 3.625 MB / 0.8084 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.9985, allocations: 7.344 kB / 0.8085 GB, free: 29.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.9992, allocations: 129 kB / 0.8086 GB, free: 29.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/1.001, allocations: 497.6 kB / 0.8091 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/1.001, allocations: 26.33 kB / 0.8091 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/1.003, allocations: 1.58 MB / 0.8106 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.003, allocations: 10.94 kB / 0.8106 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/1.009, allocations: 1.935 MB / 0.8125 GB, free: 26.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.01, allocations: 494.8 kB / 0.813 GB, free: 26.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/1.011, allocations: 23.61 kB / 0.813 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.013, allocations: 146.7 kB / 0.8132 GB, free: 26.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/1.013, allocations: 58.33 kB / 0.8132 GB, free: 26.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/1.013, allocations: 37.53 kB / 0.8132 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002808/1.016, allocations: 1.795 MB / 0.815 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.016, allocations: 0 / 0.815 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00255/1.018, allocations: 0.6849 MB / 0.8157 GB, free: 24.3 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.001245/1.02, allocations: 0.6245 MB / 0.8163 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004187/1.024, allocations: 1.399 MB / 0.8176 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.024, allocations: 0 / 0.8176 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.026, allocations: 0.6794 MB / 0.8183 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006275/1.032, allocations: 1.344 MB / 0.8196 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/1.038, allocations: 3.646 MB / 0.8232 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/1.039, allocations: 1.48 MB / 0.8246 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/1.039, allocations: 182.7 kB / 0.8248 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.039, allocations: 0 / 0.8248 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.07876/1.118, allocations: 62.53 MB / 0.8859 GB, free: 2.551 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)