Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 172.9 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4629/0.4629, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.365/1.365, allocations: 223.2 MB / 348.4 MB, free: 4.984 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.0009152/0.0009156, allocations: 90.05 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004198, allocations: 16 kB / 0.4901 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3233, allocations: 71.01 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8536/1.177, allocations: 384.8 MB / 0.9353 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.177, allocations: 95.12 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/Validation/Carnot_TCon_reverseFlow.mo:33:3-47: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.679/2.856, allocations: 0.6467 GB / 1.582 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/2.857, allocations: 0 / 1.582 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001648/2.857, allocations: 35.98 kB / 1.582 GB, free: 57.45 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003918/2.861, allocations: 1.711 MB / 1.584 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/2.861, allocations: 8.031 kB / 1.584 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/2.863, allocations: 494.8 kB / 1.584 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/2.867, allocations: 1.363 MB / 1.586 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/2.867, allocations: 122.5 kB / 1.586 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/2.867, allocations: 92.38 kB / 1.586 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/2.869, allocations: 1.026 MB / 1.587 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/2.869, allocations: 3.938 kB / 1.587 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/2.87, allocations: 32 kB / 1.587 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/2.87, allocations: 20 kB / 1.587 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/2.872, allocations: 0.9876 MB / 1.588 GB, free: 51.46 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.005998/2.878, allocations: 4.52 MB / 1.592 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/2.881, allocations: 1.098 MB / 1.593 GB, free: 45.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009407/2.882, allocations: 432 kB / 1.594 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/2.883, allocations: 1.025 MB / 1.595 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/2.883, allocations: 41.62 kB / 1.595 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 2.555e-06/2.883, allocations: 0 / 1.595 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.009203/2.892, allocations: 2.619 MB / 1.597 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/2.892, allocations: 63.78 kB / 1.597 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/2.894, allocations: 0.9237 MB / 1.598 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/2.894, allocations: 37.7 kB / 1.598 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/2.894, allocations: 0.5154 MB / 1.599 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/2.894, allocations: 181.3 kB / 1.599 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/2.894, allocations: 16 kB / 1.599 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/2.894, allocations: 325.9 kB / 1.599 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008584/2.895, allocations: 348.9 kB / 1.6 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/2.896, allocations: 0.572 MB / 1.6 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/2.898, allocations: 0.7791 MB / 1.601 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/2.898, allocations: 4 kB / 1.601 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003798/2.902, allocations: 1.319 MB / 1.602 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/2.902, allocations: 160 kB / 1.602 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.902, allocations: 4 kB / 1.602 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/2.903, allocations: 468.4 kB / 1.603 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/2.904, allocations: 127.7 kB / 1.603 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/2.906, allocations: 1.085 MB / 1.604 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/2.907, allocations: 175.3 kB / 1.604 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/2.907, allocations: 30.86 kB / 1.604 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/2.907, allocations: 4 kB / 1.604 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/2.91, allocations: 1.197 MB / 1.605 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/2.91, allocations: 4 kB / 1.605 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/2.912, allocations: 460.3 kB / 1.606 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/2.912, allocations: 115.9 kB / 1.606 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/2.914, allocations: 1.086 MB / 1.607 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.915, allocations: 167.4 kB / 1.607 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/2.915, allocations: 31.97 kB / 1.607 GB, free: 30.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (46): * Single equations (assignments): 45 * 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006333/2.916, allocations: 356.9 kB / 1.608 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/2.916, allocations: 106.7 kB / 1.608 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/2.92, allocations: 1.475 MB / 1.609 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/2.92, allocations: 7.938 kB / 1.609 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.92, allocations: 0 / 1.609 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/2.92, allocations: 11.98 kB / 1.609 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/2.926, allocations: 2.518 MB / 1.612 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/2.926, allocations: 192 / 1.612 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/2.926, allocations: 103.7 kB / 1.612 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/2.928, allocations: 466 kB / 1.612 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/2.928, allocations: 19.98 kB / 1.612 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/2.929, allocations: 1.125 MB / 1.613 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.929, allocations: 4.031 kB / 1.613 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/2.932, allocations: 1.289 MB / 1.614 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/2.933, allocations: 275.5 kB / 1.615 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/2.933, allocations: 16 kB / 1.615 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/2.934, allocations: 127.7 kB / 1.615 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/2.934, allocations: 40.38 kB / 1.615 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/2.934, allocations: 23.98 kB / 1.615 GB, free: 22.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009417/2.935, allocations: 0.6519 MB / 1.616 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/2.935, allocations: 0 / 1.616 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001813/2.937, allocations: 0.6043 MB / 1.616 GB, free: 21.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/2.938, allocations: 0.6525 MB / 1.617 GB, free: 20.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003655/2.942, allocations: 1.377 MB / 1.618 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/2.942, allocations: 0 / 1.618 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/2.943, allocations: 0.4897 MB / 1.619 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/2.946, allocations: 0.5082 MB / 1.619 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/2.95, allocations: 2.33 MB / 1.621 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/2.95, allocations: 1.074 MB / 1.622 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001047/2.951, allocations: 210.2 kB / 1.623 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/2.951, allocations: 75.42 kB / 1.623 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/2.951, allocations: 0 / 1.623 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.3176/3.269, allocations: 27.82 MB / 1.65 GB, free: 77.12 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)