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.005784/0.005784, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001287/0.001287, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8169/0.8169, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 66.61 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 80.92 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5416/0.7178, allocations: 132.2 MB / 0.7937 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03163/0.7495, allocations: 23.19 MB / 0.8164 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.7555, allocations: 127.1 kB / 0.8165 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.76, allocations: 1.533 MB / 0.818 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0172/0.7773, allocations: 4.308 MB / 0.8222 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007465/0.7848, allocations: 2.181 MB / 0.8243 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01213/0.7969, allocations: 6.563 MB / 0.8307 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00505/0.802, allocations: 2.361 MB / 0.8331 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/0.8106, allocations: 2.808 MB / 0.8358 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.8157, allocations: 1.893 MB / 0.8376 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.8168, allocations: 248.6 kB / 0.8379 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007006/0.8239, allocations: 1.944 MB / 0.8398 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.8254, allocations: 0.5992 MB / 0.8404 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003512/0.8289, allocations: 1.466 MB / 0.8418 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.8384, allocations: 4.381 MB / 0.8461 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8384, allocations: 0 / 0.8461 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8384, allocations: 3.938 kB / 0.8461 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001435/0.8386, allocations: 0 / 0.8461 GB, free: 11.18 MB / 0.6075 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.008875/0.8475, allocations: 3.188 MB / 0.8492 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.8475, allocations: 9.109 kB / 0.8492 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/0.8521, allocations: 0.8473 MB / 0.85 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.8578, allocations: 2.311 MB / 0.8523 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.858, allocations: 123 kB / 0.8524 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.8584, allocations: 163.9 kB / 0.8526 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.8624, allocations: 1.923 MB / 0.8544 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.8625, allocations: 3.938 kB / 0.8544 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.8626, allocations: 64 kB / 0.8545 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.8627, allocations: 39.94 kB / 0.8545 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.867, allocations: 1.799 MB / 0.8563 GB, free: 492 kB / 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.01278/0.8798, allocations: 8.998 MB / 0.8651 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.8837, allocations: 1.204 MB / 0.8663 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.8848, allocations: 461.4 kB / 0.8667 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.886, allocations: 1.726 MB / 0.8684 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.8861, allocations: 42.56 kB / 0.8684 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.8861, allocations: 3.938 kB / 0.8684 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008264/0.8944, allocations: 2.338 MB / 0.8707 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.8945, allocations: 89.11 kB / 0.8708 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/0.8986, allocations: 2.52 MB / 0.8733 GB, free: 14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.8988, allocations: 45.7 kB / 0.8733 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/0.8997, allocations: 1.045 MB / 0.8743 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.9, allocations: 268.1 kB / 0.8746 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.9004, allocations: 258.6 kB / 0.8748 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9005, allocations: 345.9 kB / 0.8752 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.9021, allocations: 0.5686 MB / 0.8757 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.904, allocations: 0.9543 MB / 0.8766 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.9067, allocations: 1.248 MB / 0.8779 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.9067, allocations: 7.938 kB / 0.8779 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006044/0.9127, allocations: 2.016 MB / 0.8798 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9128, allocations: 8 kB / 0.8798 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.9128, allocations: 8 kB / 0.8799 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.9145, allocations: 0.4899 MB / 0.8803 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9157, allocations: 279.5 kB / 0.8806 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.9177, allocations: 1.516 MB / 0.8821 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.9206, allocations: 362 kB / 0.8824 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.9207, allocations: 63.95 kB / 0.8825 GB, free: 4.191 MB / 0.6387 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.0008494/0.9216, allocations: 465.5 kB / 0.8829 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.922, allocations: 252.8 kB / 0.8832 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.9254, allocations: 1.489 MB / 0.8846 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.9254, allocations: 16 kB / 0.8846 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9254, allocations: 0 / 0.8846 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.9254, allocations: 7.969 kB / 0.8846 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/0.9325, allocations: 3.619 MB / 0.8882 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9326, allocations: 7.938 kB / 0.8882 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.9332, allocations: 132.2 kB / 0.8883 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.9348, allocations: 493.1 kB / 0.8888 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.9349, allocations: 27.98 kB / 0.8888 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.9373, allocations: 1.595 MB / 0.8904 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9374, allocations: 4 kB / 0.8904 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.943, allocations: 1.933 MB / 0.8923 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9441, allocations: 485.6 kB / 0.8927 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.9444, allocations: 31.83 kB / 0.8928 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.946, allocations: 135.8 kB / 0.8929 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.9461, allocations: 63.72 kB / 0.8929 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.9461, allocations: 47.91 kB / 0.893 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002831/0.949, allocations: 1.766 MB / 0.8947 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.949, allocations: 4 kB / 0.8947 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001849/0.9508, allocations: 0.6945 MB / 0.8954 GB, free: 6.684 MB / 0.6544 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.001189/0.952, allocations: 0.6042 MB / 0.896 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003896/0.956, allocations: 1.35 MB / 0.8973 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.956, allocations: 0 / 0.8973 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.9582, allocations: 0.6781 MB / 0.898 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/0.9636, allocations: 1.332 MB / 0.8993 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.97, allocations: 3.541 MB / 0.9027 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.9711, allocations: 1.49 MB / 0.9042 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001837/0.9729, allocations: 435.8 kB / 0.9046 GB, free: 13.17 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.9733, allocations: 171.4 kB / 0.9048 GB, free: 13 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/0.9734, allocations: 4 kB / 0.9048 GB, free: 13 MB / 0.67 GB Notification: Performance of Templates: time 0.08021/1.054, allocations: 48.78 MB / 0.9524 GB, free: 12.67 MB / 0.7169 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)