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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001339/0.001339, allocations: 194.9 kB / 16.14 MB, free: 6.652 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.34 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1951, allocations: 80.93 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5342/0.7293, allocations: 131.3 MB / 0.7119 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04293/0.7723, allocations: 23.29 MB / 0.7347 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008142/0.7805, allocations: 114.9 kB / 0.7348 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006254/0.7869, allocations: 1.207 MB / 0.7359 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.8056, allocations: 3.771 MB / 0.7396 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00918/0.8148, allocations: 1.959 MB / 0.7415 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01567/0.8305, allocations: 8.279 MB / 0.7496 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.8357, allocations: 1.97 MB / 0.7516 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007559/0.8433, allocations: 2.356 MB / 0.7539 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004725/0.848, allocations: 1.874 MB / 0.7557 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.8491, allocations: 124 kB / 0.7558 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/0.8557, allocations: 1.738 MB / 0.7575 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.857, allocations: 0.4898 MB / 0.758 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005042/0.8621, allocations: 1.313 MB / 0.7593 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.8746, allocations: 4.238 MB / 0.7634 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.8746, allocations: 0 / 0.7634 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8747, allocations: 0 / 0.7634 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002631/0.8749, allocations: 4 kB / 0.7634 GB, free: 5.406 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.01193/0.8869, allocations: 3.188 MB / 0.7665 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.8869, allocations: 8.031 kB / 0.7665 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.8923, allocations: 0.8356 MB / 0.7673 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007318/0.8997, allocations: 2.291 MB / 0.7696 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009853/0.9007, allocations: 290.8 kB / 0.7699 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.9012, allocations: 164 kB / 0.77 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005985/0.9072, allocations: 1.93 MB / 0.7719 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.9073, allocations: 3.938 kB / 0.7719 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.9076, allocations: 67.94 kB / 0.772 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.9076, allocations: 40 kB / 0.772 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005592/0.9132, allocations: 1.815 MB / 0.7738 GB, free: 10.55 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.01688/0.9301, allocations: 9.004 MB / 0.7826 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.9345, allocations: 1.19 MB / 0.7837 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.9356, allocations: 465.3 kB / 0.7842 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.937, allocations: 1.723 MB / 0.7859 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.9371, allocations: 46.31 kB / 0.7859 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/0.9371, allocations: 0 / 0.7859 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008865/0.946, allocations: 2.324 MB / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.946, allocations: 85.11 kB / 0.7882 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005695/0.9517, allocations: 2.496 MB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.952, allocations: 41.7 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.9531, allocations: 1.041 MB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.9535, allocations: 272.2 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006419/0.9542, allocations: 262.6 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9544, allocations: 349.9 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.9562, allocations: 0.5842 MB / 0.7932 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.9585, allocations: 0.9621 MB / 0.7941 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.9616, allocations: 1.269 MB / 0.7953 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.9616, allocations: 0 / 0.7953 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006811/0.9685, allocations: 2.048 MB / 0.7973 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.9685, allocations: 14.62 kB / 0.7974 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.9685, allocations: 8 kB / 0.7974 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.9704, allocations: 424 kB / 0.7978 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.9717, allocations: 283.5 kB / 0.798 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.974, allocations: 1.508 MB / 0.7995 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.9774, allocations: 434 kB / 0.7999 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.9776, allocations: 59.97 kB / 0.8 GB, free: 14.25 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.001341/0.979, allocations: 458.9 kB / 0.8004 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.9801, allocations: 248.9 kB / 0.8007 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.9844, allocations: 1.491 MB / 0.8021 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.9845, allocations: 16 kB / 0.8021 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.9845, allocations: 0 / 0.8021 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.9845, allocations: 3.984 kB / 0.8021 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009369/0.9939, allocations: 3.607 MB / 0.8057 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9939, allocations: 4.375 kB / 0.8057 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.9945, allocations: 127.8 kB / 0.8058 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.9963, allocations: 431.9 kB / 0.8062 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.9964, allocations: 23.98 kB / 0.8062 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.9993, allocations: 1.573 MB / 0.8077 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.9993, allocations: 4 kB / 0.8078 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006751/1.006, allocations: 1.927 MB / 0.8096 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.008, allocations: 485.6 kB / 0.8101 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.008, allocations: 23.91 kB / 0.8101 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.011, allocations: 171.8 kB / 0.8103 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.011, allocations: 63.8 kB / 0.8103 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.011, allocations: 35.97 kB / 0.8104 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00432/1.015, allocations: 1.753 MB / 0.8121 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.51e-07/1.015, allocations: 0 / 0.8121 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00404/1.019, allocations: 0.6827 MB / 0.8128 GB, free: 0.8828 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.001901/1.021, allocations: 0.586 MB / 0.8133 GB, free: 304 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005079/1.026, allocations: 1.354 MB / 0.8147 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.389e-05/1.026, allocations: 4 kB / 0.8147 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.029, allocations: 0.6603 MB / 0.8153 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007922/1.037, allocations: 1.266 MB / 0.8165 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0091/1.046, allocations: 4.291 MB / 0.8207 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.048, allocations: 1.494 MB / 0.8222 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002663/1.051, allocations: 428.6 kB / 0.8226 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007838/1.051, allocations: 167.4 kB / 0.8228 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.051, allocations: 0 / 0.8228 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of Templates: time 0.3627/1.414, allocations: 48.41 MB / 0.87 GB, free: 215.7 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)