Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009141/0.009142, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001445/0.001445, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9896/0.9896, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.31 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1811, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4273/0.6084, allocations: 131.3 MB / 0.7126 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03847/0.6469, allocations: 23.29 MB / 0.7353 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007316/0.6543, allocations: 111.4 kB / 0.7354 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005567/0.66, allocations: 1.206 MB / 0.7366 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.6747, allocations: 3.768 MB / 0.7403 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007018/0.6817, allocations: 1.957 MB / 0.7422 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.6946, allocations: 8.274 MB / 0.7503 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/0.6986, allocations: 1.974 MB / 0.7522 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00658/0.7052, allocations: 2.364 MB / 0.7545 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.7096, allocations: 1.866 MB / 0.7563 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007283/0.7103, allocations: 120 kB / 0.7564 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005519/0.7158, allocations: 1.75 MB / 0.7581 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.7166, allocations: 489.6 kB / 0.7586 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.719, allocations: 1.317 MB / 0.7599 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.7241, allocations: 3.341 MB / 0.7632 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7241, allocations: 0 / 0.7632 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7241, allocations: 0 / 0.7632 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.216e-05/0.7242, allocations: 3.938 kB / 0.7632 GB, free: 6.297 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.006888/0.7311, allocations: 3.176 MB / 0.7663 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.7312, allocations: 12.03 kB / 0.7663 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004647/0.7358, allocations: 0.8395 MB / 0.7671 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005143/0.741, allocations: 2.291 MB / 0.7693 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000921/0.7419, allocations: 290.8 kB / 0.7696 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.7423, allocations: 164 kB / 0.7698 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.7464, allocations: 1.938 MB / 0.7717 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.7464, allocations: 4 kB / 0.7717 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.7466, allocations: 67.94 kB / 0.7717 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.7466, allocations: 36 kB / 0.7718 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004642/0.7513, allocations: 1.819 MB / 0.7735 GB, free: 11.43 MB / 0.5919 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.01351/0.7648, allocations: 9.004 MB / 0.7823 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.7692, allocations: 1.196 MB / 0.7835 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.7703, allocations: 462.2 kB / 0.7839 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.7719, allocations: 1.726 MB / 0.7856 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/0.772, allocations: 46.31 kB / 0.7857 GB, free: 14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.677e-06/0.772, allocations: 0 / 0.7857 GB, free: 14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008746/0.7807, allocations: 2.32 MB / 0.7879 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.7808, allocations: 85.11 kB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.7849, allocations: 2.496 MB / 0.7905 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.7851, allocations: 45.7 kB / 0.7905 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/0.786, allocations: 1.045 MB / 0.7915 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.7863, allocations: 264.2 kB / 0.7918 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/0.7868, allocations: 258.6 kB / 0.792 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.787, allocations: 345.9 kB / 0.7923 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.7887, allocations: 0.5881 MB / 0.7929 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.7908, allocations: 0.966 MB / 0.7939 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.7937, allocations: 1.265 MB / 0.7951 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7938, allocations: 3.938 kB / 0.7951 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006525/0.8003, allocations: 2.047 MB / 0.7971 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.8003, allocations: 8 kB / 0.7971 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.8004, allocations: 8.625 kB / 0.7971 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.8021, allocations: 417.2 kB / 0.7975 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8033, allocations: 291.5 kB / 0.7978 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.8056, allocations: 1.511 MB / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.8088, allocations: 432 kB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.809, allocations: 59.97 kB / 0.7997 GB, free: 15.14 MB / 0.6231 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.001076/0.8101, allocations: 462.9 kB / 0.8002 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/0.8109, allocations: 244.9 kB / 0.8004 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.8149, allocations: 1.498 MB / 0.8019 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/0.815, allocations: 16 kB / 0.8019 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.815, allocations: 4 kB / 0.8019 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.815, allocations: 7.969 kB / 0.8019 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008736/0.8238, allocations: 3.596 MB / 0.8054 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.8238, allocations: 7.938 kB / 0.8054 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.8244, allocations: 128.2 kB / 0.8055 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.826, allocations: 428 kB / 0.806 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/0.8261, allocations: 23.97 kB / 0.806 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.8287, allocations: 1.565 MB / 0.8075 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.8287, allocations: 7.938 kB / 0.8075 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.8347, allocations: 1.931 MB / 0.8094 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.8362, allocations: 481.7 kB / 0.8099 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007603/0.8369, allocations: 27.89 kB / 0.8099 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/0.8392, allocations: 167.8 kB / 0.81 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8393, allocations: 59.75 kB / 0.8101 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.8395, allocations: 43.97 kB / 0.8101 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004008/0.8435, allocations: 1.746 MB / 0.8118 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8435, allocations: 0 / 0.8118 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002794/0.8463, allocations: 0.6905 MB / 0.8125 GB, free: 1.773 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.001518/0.8478, allocations: 0.5944 MB / 0.8131 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00451/0.8524, allocations: 1.354 MB / 0.8144 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8524, allocations: 0 / 0.8144 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002512/0.8549, allocations: 0.6644 MB / 0.8151 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008109/0.863, allocations: 1.256 MB / 0.8163 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.8719, allocations: 4.332 MB / 0.8205 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.8735, allocations: 1.482 MB / 0.822 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008045/0.8744, allocations: 183.4 kB / 0.8221 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.8744, allocations: 0 / 0.8221 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.3887/1.263, allocations: 62.02 MB / 0.8827 GB, free: 213.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)