Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009171/0.0009229, allocations: 171.9 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5417/0.5417, allocations: 86.28 MB / 103.8 MB, free: 14.53 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008128/0.0008127, allocations: 92.06 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 12 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2799, allocations: 71.03 MB / 0.5594 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8297/1.11, allocations: 384.8 MB / 0.9352 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.11, allocations: 97.83 kB / 0.9353 GB, free: 232.8 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/HeatPumps/Examples/Carnot_TCon.mo:17:3-31:71:writable] Error: Variable heaPum: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.HeatPumps.Carnot_TCon$heaPum: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 1.787/2.897, allocations: 0.6463 GB / 1.582 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/2.897, allocations: 0 / 1.582 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002401/2.897, allocations: 35.98 kB / 1.582 GB, free: 58.94 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005468/2.903, allocations: 1.691 MB / 1.583 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/2.903, allocations: 8.031 kB / 1.583 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/2.905, allocations: 442.9 kB / 1.584 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/2.908, allocations: 1.359 MB / 1.585 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/2.908, allocations: 126.5 kB / 1.585 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/2.908, allocations: 88.38 kB / 1.585 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/2.91, allocations: 1.002 MB / 1.586 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/2.91, allocations: 3.938 kB / 1.586 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/2.91, allocations: 32 kB / 1.586 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/2.91, allocations: 20 kB / 1.586 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/2.912, allocations: 0.8978 MB / 1.587 GB, free: 53.12 MB / 0.6042 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.005152/2.917, allocations: 4.549 MB / 1.592 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/2.92, allocations: 0.8946 MB / 1.593 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/2.921, allocations: 309.2 kB / 1.593 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/2.921, allocations: 0.9145 MB / 1.594 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/2.921, allocations: 38.94 kB / 1.594 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/2.921, allocations: 0 / 1.594 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.006928/2.928, allocations: 2.106 MB / 1.596 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/2.928, allocations: 71.03 kB / 1.596 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/2.93, allocations: 1.056 MB / 1.597 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/2.93, allocations: 41.7 kB / 1.597 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/2.93, allocations: 0.5274 MB / 1.597 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/2.93, allocations: 157.8 kB / 1.598 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/2.93, allocations: 12 kB / 1.598 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/2.93, allocations: 326 kB / 1.598 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/2.931, allocations: 312.9 kB / 1.598 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/2.932, allocations: 0.5626 MB / 1.599 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/2.933, allocations: 0.7139 MB / 1.599 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.933, allocations: 0 / 1.599 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003488/2.937, allocations: 1.246 MB / 1.601 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/2.937, allocations: 213.2 kB / 1.601 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/2.937, allocations: 4 kB / 1.601 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/2.938, allocations: 372.2 kB / 1.601 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/2.939, allocations: 127.8 kB / 1.601 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/2.94, allocations: 0.972 MB / 1.602 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/2.941, allocations: 202.3 kB / 1.603 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/2.941, allocations: 31.98 kB / 1.603 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/2.941, allocations: 4 kB / 1.603 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003198/2.944, allocations: 1.109 MB / 1.604 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/2.944, allocations: 4 kB / 1.604 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/2.945, allocations: 356.7 kB / 1.604 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/2.946, allocations: 123.8 kB / 1.604 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/2.947, allocations: 0.9675 MB / 1.605 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/2.948, allocations: 163.4 kB / 1.605 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/2.948, allocations: 35.98 kB / 1.605 GB, free: 33.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004923/2.949, allocations: 364.9 kB / 1.606 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/2.949, allocations: 110.6 kB / 1.606 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/2.952, allocations: 1.213 MB / 1.607 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/2.952, allocations: 11.94 kB / 1.607 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.952, allocations: 0 / 1.607 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/2.952, allocations: 3.984 kB / 1.607 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/2.957, allocations: 2.238 MB / 1.609 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/2.957, allocations: 0 / 1.609 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/2.957, allocations: 80.12 kB / 1.609 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009845/2.958, allocations: 358.3 kB / 1.609 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/2.958, allocations: 19.98 kB / 1.609 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/2.959, allocations: 1.001 MB / 1.61 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.959, allocations: 3.703 kB / 1.61 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/2.962, allocations: 1.28 MB / 1.612 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/2.963, allocations: 275.5 kB / 1.612 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/2.963, allocations: 12 kB / 1.612 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/2.964, allocations: 111.7 kB / 1.612 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/2.964, allocations: 47.83 kB / 1.612 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/2.964, allocations: 23.98 kB / 1.612 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001034/2.965, allocations: 0.7352 MB / 1.613 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/2.965, allocations: 4 kB / 1.613 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001685/2.967, allocations: 0.6005 MB / 1.613 GB, free: 25.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009834/2.968, allocations: 0.6387 MB / 1.614 GB, free: 24.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00291/2.971, allocations: 1.193 MB / 1.615 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/2.971, allocations: 0 / 1.615 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/2.971, allocations: 395.3 kB / 1.616 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/2.974, allocations: 0.5179 MB / 1.616 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/2.979, allocations: 2.494 MB / 1.619 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/2.979, allocations: 1.066 MB / 1.62 GB, free: 18.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008887/2.98, allocations: 221.2 kB / 1.62 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.98, allocations: 79.36 kB / 1.62 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of SimCode: time 6.62e-07/2.98, allocations: 0 / 1.62 GB, free: 18.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.3409/3.321, allocations: 27.45 MB / 1.647 GB, free: 77.61 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)