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.001637/0.001637, allocations: 108 kB / 16.41 MB, free: 6.457 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.001862/0.001862, allocations: 188.1 kB / 17.35 MB, free: 5.734 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.476/1.476, allocations: 222.9 MB / 241.1 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.8467/0.8467, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.5 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1546, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4494/0.604, allocations: 132.4 MB / 0.7946 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.6307, allocations: 23.22 MB / 0.8173 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004895/0.6356, allocations: 126.5 kB / 0.8174 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00412/0.6397, allocations: 1.556 MB / 0.819 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.6521, allocations: 4.309 MB / 0.8232 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.6579, allocations: 2.175 MB / 0.8253 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009954/0.6679, allocations: 6.523 MB / 0.8317 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.6714, allocations: 1.921 MB / 0.8335 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007128/0.6785, allocations: 2.811 MB / 0.8363 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.6826, allocations: 1.893 MB / 0.8381 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008104/0.6834, allocations: 252.8 kB / 0.8384 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005032/0.6884, allocations: 1.934 MB / 0.8403 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009357/0.6893, allocations: 0.6204 MB / 0.8409 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.6919, allocations: 1.45 MB / 0.8423 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008719/0.7006, allocations: 4.409 MB / 0.8466 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.7006, allocations: 3.984 kB / 0.8466 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7006, allocations: 4 kB / 0.8466 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.137e-05/0.7007, allocations: 0 / 0.8466 GB, free: 11.37 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.007607/0.7083, allocations: 3.281 MB / 0.8498 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7084, allocations: 9.109 kB / 0.8498 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.7132, allocations: 0.8489 MB / 0.8506 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/0.7185, allocations: 2.352 MB / 0.8529 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.7187, allocations: 131 kB / 0.8531 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.719, allocations: 167.9 kB / 0.8532 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/0.7236, allocations: 1.919 MB / 0.8551 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.7236, allocations: 4 kB / 0.8551 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.7238, allocations: 67.88 kB / 0.8552 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.7239, allocations: 40 kB / 0.8552 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.729, allocations: 1.784 MB / 0.8569 GB, free: 0.543 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.01539/0.7443, allocations: 8.985 MB / 0.8657 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/0.7489, allocations: 1.146 MB / 0.8668 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.7501, allocations: 437.4 kB / 0.8673 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.7516, allocations: 1.719 MB / 0.8689 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.7516, allocations: 54.5 kB / 0.869 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/0.7516, allocations: 0 / 0.869 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009245/0.7609, allocations: 2.34 MB / 0.8713 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.7609, allocations: 81.11 kB / 0.8713 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004634/0.7656, allocations: 2.508 MB / 0.8738 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.7658, allocations: 45.7 kB / 0.8738 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.7669, allocations: 1.047 MB / 0.8749 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.7672, allocations: 281.6 kB / 0.8751 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.7677, allocations: 254.7 kB / 0.8754 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7679, allocations: 361.8 kB / 0.8757 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.7698, allocations: 0.5686 MB / 0.8763 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.772, allocations: 0.9465 MB / 0.8772 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.7753, allocations: 1.248 MB / 0.8784 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7753, allocations: 0 / 0.8784 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006992/0.7823, allocations: 2.03 MB / 0.8804 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.7823, allocations: 11.12 kB / 0.8804 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.7823, allocations: 8 kB / 0.8804 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.7841, allocations: 417.3 kB / 0.8808 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7854, allocations: 279.5 kB / 0.8811 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.7878, allocations: 1.51 MB / 0.8826 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.7906, allocations: 362.6 kB / 0.8829 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.7908, allocations: 63.95 kB / 0.883 GB, free: 4.434 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.0009597/0.7918, allocations: 465.9 kB / 0.8834 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.7924, allocations: 262.2 kB / 0.8837 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.7964, allocations: 1.483 MB / 0.8851 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.7964, allocations: 12 kB / 0.8851 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7964, allocations: 0 / 0.8851 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.7964, allocations: 7.969 kB / 0.8851 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008388/0.8048, allocations: 3.603 MB / 0.8886 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.8048, allocations: 11.88 kB / 0.8887 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.8055, allocations: 132.2 kB / 0.8888 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.807, allocations: 413.2 kB / 0.8892 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.8071, allocations: 27.98 kB / 0.8892 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.8099, allocations: 1.573 MB / 0.8907 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.81, allocations: 4.031 kB / 0.8907 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/0.8163, allocations: 1.937 MB / 0.8926 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.8175, allocations: 498.9 kB / 0.8931 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/0.8178, allocations: 23.95 kB / 0.8931 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.8196, allocations: 139.8 kB / 0.8933 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.8197, allocations: 67.66 kB / 0.8933 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.64e-05/0.8198, allocations: 39.97 kB / 0.8934 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003299/0.8231, allocations: 1.753 MB / 0.8951 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8231, allocations: 0 / 0.8951 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002184/0.8253, allocations: 0.6902 MB / 0.8958 GB, free: 7.043 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.001266/0.8265, allocations: 0.6172 MB / 0.8964 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004455/0.831, allocations: 1.299 MB / 0.8976 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.831, allocations: 4 kB / 0.8976 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.8335, allocations: 0.6411 MB / 0.8983 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006538/0.84, allocations: 1.322 MB / 0.8995 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/0.8473, allocations: 3.649 MB / 0.9031 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.8485, allocations: 1.474 MB / 0.9045 GB, free: 13.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/0.8492, allocations: 187.4 kB / 0.9047 GB, free: 13.75 MB / 0.67 GB Notification: Performance of SimCode: time 9.21e-07/0.8492, allocations: 4 kB / 0.9047 GB, free: 13.75 MB / 0.67 GB Notification: Performance of Templates: time 0.08649/0.9357, allocations: 62.77 MB / 0.966 GB, free: 15.2 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)