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.001352/0.001352, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001458/0.001458, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.08 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 / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.28 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 80.93 MB / 0.6653 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5693/0.7423, allocations: 132.2 MB / 0.7944 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03068/0.773, allocations: 23.2 MB / 0.817 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006995/0.78, allocations: 124.2 kB / 0.8171 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.7858, allocations: 1.489 MB / 0.8186 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.8029, allocations: 4.082 MB / 0.8226 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.8098, allocations: 2.178 MB / 0.8247 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.82, allocations: 6.547 MB / 0.8311 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004133/0.8242, allocations: 2.359 MB / 0.8334 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007353/0.8316, allocations: 2.804 MB / 0.8361 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.8361, allocations: 1.892 MB / 0.838 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.8373, allocations: 247.8 kB / 0.8382 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00628/0.8436, allocations: 1.943 MB / 0.8401 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.8449, allocations: 0.5992 MB / 0.8407 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003586/0.8485, allocations: 1.45 MB / 0.8421 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.8587, allocations: 4.392 MB / 0.8464 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8588, allocations: 0 / 0.8464 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.866e-06/0.8588, allocations: 0 / 0.8464 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001489/0.8589, allocations: 0 / 0.8464 GB, free: 11.41 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.008177/0.8671, allocations: 3.176 MB / 0.8495 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.8672, allocations: 13.11 kB / 0.8495 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.8723, allocations: 0.8512 MB / 0.8504 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.8787, allocations: 2.33 MB / 0.8526 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.8789, allocations: 123 kB / 0.8527 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.8792, allocations: 164 kB / 0.8529 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.8833, allocations: 1.926 MB / 0.8548 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.8833, allocations: 4 kB / 0.8548 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.8835, allocations: 67.94 kB / 0.8549 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.8835, allocations: 36 kB / 0.8549 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.888, allocations: 1.784 MB / 0.8566 GB, free: 0.707 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.01405/0.9021, allocations: 8.975 MB / 0.8654 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/0.9063, allocations: 1.19 MB / 0.8666 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.9075, allocations: 462.1 kB / 0.867 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.9086, allocations: 1.726 MB / 0.8687 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.9087, allocations: 42.56 kB / 0.8687 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.9087, allocations: 0 / 0.8687 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008934/0.9176, allocations: 2.324 MB / 0.871 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.9177, allocations: 93.03 kB / 0.8711 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.9221, allocations: 2.5 MB / 0.8735 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.9223, allocations: 49.7 kB / 0.8736 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009482/0.9233, allocations: 1.034 MB / 0.8746 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.9237, allocations: 264.2 kB / 0.8748 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.9241, allocations: 254.6 kB / 0.8751 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9243, allocations: 349.9 kB / 0.8754 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.9259, allocations: 0.5725 MB / 0.876 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.928, allocations: 0.9543 MB / 0.8769 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.9309, allocations: 1.248 MB / 0.8781 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.9309, allocations: 0 / 0.8781 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006658/0.9376, allocations: 2.02 MB / 0.8801 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.9377, allocations: 11.94 kB / 0.8801 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.9377, allocations: 8 kB / 0.8801 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.9395, allocations: 425.8 kB / 0.8805 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.9407, allocations: 283.5 kB / 0.8808 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.9428, allocations: 1.509 MB / 0.8823 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9458, allocations: 362 kB / 0.8826 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.9459, allocations: 59.97 kB / 0.8827 GB, free: 4.574 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 (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.001003/0.947, allocations: 457.9 kB / 0.8831 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/0.9476, allocations: 244.9 kB / 0.8833 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.9512, allocations: 1.498 MB / 0.8848 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.9512, allocations: 12 kB / 0.8848 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9513, allocations: 4 kB / 0.8848 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.9513, allocations: 7.984 kB / 0.8848 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.9593, allocations: 3.607 MB / 0.8883 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.9594, allocations: 4 kB / 0.8883 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.96, allocations: 131.8 kB / 0.8885 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.9615, allocations: 417.2 kB / 0.8889 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.9615, allocations: 27.98 kB / 0.8889 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.9642, allocations: 1.564 MB / 0.8904 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.9642, allocations: 7.938 kB / 0.8904 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.9702, allocations: 1.935 MB / 0.8923 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.9715, allocations: 489.6 kB / 0.8928 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.972, allocations: 20 kB / 0.8928 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.9738, allocations: 135.8 kB / 0.8929 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.9739, allocations: 63.66 kB / 0.893 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/0.974, allocations: 39.97 kB / 0.893 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003185/0.9772, allocations: 1.753 MB / 0.8947 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9772, allocations: 3.938 kB / 0.8948 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002223/0.9795, allocations: 0.6944 MB / 0.8954 GB, free: 7.211 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 (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.001182/0.9807, allocations: 0.6072 MB / 0.896 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004001/0.9847, allocations: 1.354 MB / 0.8973 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.9847, allocations: 4 kB / 0.8973 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.9869, allocations: 0.6568 MB / 0.898 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005746/0.9927, allocations: 1.328 MB / 0.8993 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.9992, allocations: 3.573 MB / 0.9028 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1, allocations: 1.482 MB / 0.9042 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/1.001, allocations: 179.4 kB / 0.9044 GB, free: 13.94 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/1.001, allocations: 0 / 0.9044 GB, free: 13.94 MB / 0.67 GB Notification: Performance of Templates: time 0.08323/1.084, allocations: 62.91 MB / 0.9658 GB, free: 15.25 MB / 0.7325 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)