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.001563/0.001563, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.00185/0.001851, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.03 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5823/0.745, allocations: 132.2 MB / 0.7944 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02904/0.7741, allocations: 23.2 MB / 0.817 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006111/0.7803, allocations: 125.1 kB / 0.8171 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004604/0.7849, allocations: 1.485 MB / 0.8186 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.7984, allocations: 4.088 MB / 0.8226 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006353/0.8047, allocations: 2.174 MB / 0.8247 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.8157, allocations: 6.542 MB / 0.8311 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.8205, allocations: 2.36 MB / 0.8334 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007831/0.8284, allocations: 2.802 MB / 0.8361 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.8332, allocations: 1.891 MB / 0.838 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009906/0.8342, allocations: 246.7 kB / 0.8382 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006665/0.8409, allocations: 1.939 MB / 0.8401 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.842, allocations: 0.6031 MB / 0.8407 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.8448, allocations: 1.45 MB / 0.8421 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009323/0.8541, allocations: 4.392 MB / 0.8464 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8542, allocations: 0 / 0.8464 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8542, allocations: 0 / 0.8464 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.294e-05/0.8543, allocations: 0 / 0.8464 GB, free: 11.43 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.006427/0.8607, allocations: 3.18 MB / 0.8495 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8608, allocations: 17.09 kB / 0.8495 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.8653, allocations: 0.8395 MB / 0.8503 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/0.8703, allocations: 2.327 MB / 0.8526 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.8705, allocations: 127 kB / 0.8527 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.8708, allocations: 164 kB / 0.8529 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.8751, allocations: 1.926 MB / 0.8548 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.8752, allocations: 4 kB / 0.8548 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.8754, allocations: 67.94 kB / 0.8548 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.8754, allocations: 36 kB / 0.8549 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.8801, allocations: 1.788 MB / 0.8566 GB, free: 0.7344 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.0137/0.8938, allocations: 8.975 MB / 0.8654 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/0.8982, allocations: 1.189 MB / 0.8665 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.8993, allocations: 465.2 kB / 0.867 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.9008, allocations: 1.73 MB / 0.8687 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.9009, allocations: 38.56 kB / 0.8687 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/0.9009, allocations: 0 / 0.8687 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009285/0.9102, allocations: 2.326 MB / 0.871 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.9103, allocations: 89.05 kB / 0.8711 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.9145, allocations: 2.5 MB / 0.8735 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.9147, allocations: 49.7 kB / 0.8736 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.9157, allocations: 1.038 MB / 0.8746 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.9161, allocations: 268.2 kB / 0.8748 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.9166, allocations: 250.6 kB / 0.8751 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9168, allocations: 357.9 kB / 0.8754 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.9186, allocations: 0.5647 MB / 0.876 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.9208, allocations: 0.9543 MB / 0.8769 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.9238, allocations: 1.248 MB / 0.8781 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9238, allocations: 0 / 0.8781 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006791/0.9306, allocations: 2.02 MB / 0.8801 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.9306, allocations: 8 kB / 0.8801 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.9307, allocations: 8 kB / 0.8801 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.9323, allocations: 425.8 kB / 0.8805 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9336, allocations: 287.5 kB / 0.8808 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.9358, allocations: 1.512 MB / 0.8823 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.939, allocations: 366 kB / 0.8826 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.9392, allocations: 55.97 kB / 0.8827 GB, free: 4.602 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.001071/0.9403, allocations: 461.5 kB / 0.8831 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.9409, allocations: 248.9 kB / 0.8833 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.9446, allocations: 1.498 MB / 0.8848 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.9446, allocations: 8 kB / 0.8848 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9446, allocations: 4 kB / 0.8848 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.9446, allocations: 11.98 kB / 0.8848 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007723/0.9524, allocations: 3.607 MB / 0.8883 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.9524, allocations: 4 kB / 0.8884 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.953, allocations: 127.8 kB / 0.8885 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.9545, allocations: 421.2 kB / 0.8889 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.9546, allocations: 27.98 kB / 0.8889 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.9573, allocations: 1.565 MB / 0.8904 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.9573, allocations: 7.938 kB / 0.8904 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.9637, allocations: 1.933 MB / 0.8923 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.9651, allocations: 489.6 kB / 0.8928 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.9655, allocations: 16 kB / 0.8928 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.9671, allocations: 139.8 kB / 0.8929 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.9672, allocations: 63.67 kB / 0.893 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.9673, allocations: 43.95 kB / 0.893 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002989/0.9703, allocations: 1.753 MB / 0.8948 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9703, allocations: 0 / 0.8948 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002181/0.9725, allocations: 0.6905 MB / 0.8954 GB, free: 7.234 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.001276/0.9738, allocations: 0.6084 MB / 0.896 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004271/0.9781, allocations: 1.35 MB / 0.8973 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9781, allocations: 4 kB / 0.8973 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.9805, allocations: 0.6643 MB / 0.898 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006438/0.987, allocations: 1.327 MB / 0.8993 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.9936, allocations: 3.562 MB / 0.9028 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.9947, allocations: 1.478 MB / 0.9042 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/0.9953, allocations: 187.4 kB / 0.9044 GB, free: 13.96 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/0.9954, allocations: 0 / 0.9044 GB, free: 13.96 MB / 0.67 GB Notification: Performance of Templates: time 0.07991/1.075, allocations: 62.58 MB / 0.9655 GB, free: 15.6 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)