Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 197 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 63.75 kB / 0.5018 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3908, allocations: 80.2 MB / 0.5801 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1192/0.5099, allocations: 132.2 MB / 0.7092 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03257/0.5426, allocations: 23.2 MB / 0.7318 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004895/0.5475, allocations: 127.2 kB / 0.732 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.5519, allocations: 1.494 MB / 0.7334 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.5637, allocations: 4.087 MB / 0.7374 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005262/0.569, allocations: 2.144 MB / 0.7395 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008704/0.5777, allocations: 6.517 MB / 0.7459 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.5809, allocations: 2.374 MB / 0.7482 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006157/0.5871, allocations: 2.748 MB / 0.7509 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.5901, allocations: 1.882 MB / 0.7527 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003814/0.5905, allocations: 252 kB / 0.7529 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.5947, allocations: 1.93 MB / 0.7548 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.5952, allocations: 0.5953 MB / 0.7554 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.5968, allocations: 1.466 MB / 0.7568 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.6029, allocations: 4.335 MB / 0.7611 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6029, allocations: 4 kB / 0.7611 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.603, allocations: 0 / 0.7611 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.695e-05/0.603, allocations: 0 / 0.7611 GB, free: 7.809 MB / 0.5919 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.005541/0.6086, allocations: 3.187 MB / 0.7642 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6086, allocations: 8.031 kB / 0.7642 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.6129, allocations: 0.8436 MB / 0.765 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.6168, allocations: 2.202 MB / 0.7672 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008928/0.6177, allocations: 290.8 kB / 0.7675 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6179, allocations: 164 kB / 0.7676 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.6216, allocations: 1.938 MB / 0.7695 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.6217, allocations: 3.938 kB / 0.7695 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.6218, allocations: 71.94 kB / 0.7696 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.6218, allocations: 36 kB / 0.7696 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.6263, allocations: 1.827 MB / 0.7714 GB, free: 13.02 MB / 0.6075 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.01395/0.6403, allocations: 9.082 MB / 0.7803 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.6446, allocations: 1.2 MB / 0.7814 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.6456, allocations: 458.2 kB / 0.7819 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.6469, allocations: 1.722 MB / 0.7836 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6469, allocations: 42.56 kB / 0.7836 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.396e-06/0.647, allocations: 0 / 0.7836 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.00933/0.6563, allocations: 2.342 MB / 0.7859 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.6564, allocations: 85.11 kB / 0.786 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/0.6617, allocations: 2.544 MB / 0.7884 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.6619, allocations: 45.7 kB / 0.7885 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009782/0.6629, allocations: 1.042 MB / 0.7895 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.6633, allocations: 268.2 kB / 0.7898 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005154/0.6638, allocations: 262.5 kB / 0.79 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6639, allocations: 345.9 kB / 0.7903 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.6657, allocations: 0.5881 MB / 0.7909 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.6678, allocations: 0.9621 MB / 0.7919 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.6708, allocations: 1.273 MB / 0.7931 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.6708, allocations: 0 / 0.7931 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006777/0.6776, allocations: 2.048 MB / 0.7951 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.6777, allocations: 11.98 kB / 0.7951 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.6777, allocations: 8 kB / 0.7951 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.6796, allocations: 0.4896 MB / 0.7956 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.6808, allocations: 291.5 kB / 0.7959 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.683, allocations: 1.517 MB / 0.7974 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.6859, allocations: 397.9 kB / 0.7977 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.6861, allocations: 63.95 kB / 0.7978 GB, free: 0.5 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 (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.0009391/0.687, allocations: 457.5 kB / 0.7982 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007395/0.6878, allocations: 253 kB / 0.7985 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.6916, allocations: 1.495 MB / 0.7999 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/0.6917, allocations: 12 kB / 0.7999 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6917, allocations: 3.984 kB / 0.7999 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6917, allocations: 3.984 kB / 0.8 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/0.7, allocations: 3.623 MB / 0.8035 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.7001, allocations: 8.375 kB / 0.8035 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.7007, allocations: 127.8 kB / 0.8036 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.7024, allocations: 485.1 kB / 0.8041 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.7024, allocations: 27.98 kB / 0.8041 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.7051, allocations: 1.582 MB / 0.8057 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.7051, allocations: 7.938 kB / 0.8057 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.7116, allocations: 1.935 MB / 0.8076 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.7135, allocations: 485.7 kB / 0.808 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009364/0.7145, allocations: 31.92 kB / 0.808 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.7166, allocations: 139.8 kB / 0.8082 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.7168, allocations: 59.8 kB / 0.8082 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.7169, allocations: 43.97 kB / 0.8083 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003899/0.7208, allocations: 1.785 MB / 0.81 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7208, allocations: 3.938 kB / 0.81 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002824/0.7236, allocations: 0.6944 MB / 0.8107 GB, free: 3.012 MB / 0.6387 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.001638/0.7253, allocations: 0.611 MB / 0.8113 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004522/0.7298, allocations: 1.401 MB / 0.8127 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7298, allocations: 0 / 0.8127 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.7322, allocations: 0.6702 MB / 0.8133 GB, free: 332 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.292/1.024, allocations: 1.333 MB / 0.8146 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/1.03, allocations: 3.597 MB / 0.8181 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.032, allocations: 1.488 MB / 0.8196 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00266/1.035, allocations: 441.6 kB / 0.82 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.035, allocations: 171.2 kB / 0.8202 GB, free: 212 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/1.035, allocations: 0 / 0.8202 GB, free: 212 MB / 0.6387 GB Notification: Performance of Templates: time 0.06942/1.104, allocations: 51.2 MB / 0.8702 GB, free: 178 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)