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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001042/0.001042, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4725/0.4725, allocations: 90.81 MB / 104.5 MB, free: 13.9 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.325/1.325, allocations: 221.3 MB / 348.3 MB, free: 12.6 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.0008496/0.0008496, allocations: 91.92 kB / 421.1 MB, free: 5.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.629e-05, allocations: 4 kB / 0.4896 GB, free: 46.65 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 72.31 MB / 0.5602 GB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.198, allocations: 386.8 MB / 0.938 GB, free: 86.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/1.199, allocations: 88.52 kB / 0.9381 GB, free: 86.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.438/3.636, allocations: 0.6497 GB / 1.588 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/3.636, allocations: 0 / 1.588 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002006/3.637, allocations: 37.36 kB / 1.588 GB, free: 83.57 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.003886/3.641, allocations: 1.486 MB / 1.589 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/3.641, allocations: 14.45 kB / 1.589 GB, free: 82.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/3.643, allocations: 498.2 kB / 1.59 GB, free: 82.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/3.647, allocations: 1.31 MB / 1.591 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/3.647, allocations: 126.8 kB / 1.591 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/3.647, allocations: 84.22 kB / 1.591 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/3.649, allocations: 0.8853 MB / 1.592 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/3.649, allocations: 0.75 kB / 1.592 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.761e-05/3.649, allocations: 28.16 kB / 1.592 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/3.649, allocations: 40.02 kB / 1.592 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/3.65, allocations: 0.6993 MB / 1.593 GB, free: 82.28 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005245/3.656, allocations: 4.543 MB / 1.597 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/3.658, allocations: 0.8012 MB / 1.598 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/3.658, allocations: 293.3 kB / 1.598 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/3.659, allocations: 1.014 MB / 1.599 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/3.659, allocations: 44.06 kB / 1.599 GB, free: 78.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 2.534e-06/3.659, allocations: 0 / 1.599 GB, free: 78.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.001347/3.661, allocations: 0.7197 MB / 1.6 GB, free: 78.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/3.661, allocations: 55.75 kB / 1.6 GB, free: 78.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/3.662, allocations: 0.811 MB / 1.601 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/3.662, allocations: 43.61 kB / 1.601 GB, free: 78.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/3.662, allocations: 0.4958 MB / 1.601 GB, free: 78.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/3.662, allocations: 190.1 kB / 1.602 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/3.662, allocations: 8.562 kB / 1.602 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/3.662, allocations: 333.2 kB / 1.602 GB, free: 77.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/3.662, allocations: 209.3 kB / 1.602 GB, free: 77.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/3.663, allocations: 428.2 kB / 1.603 GB, free: 77.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/3.663, allocations: 234.7 kB / 1.603 GB, free: 77.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/3.663, allocations: 0 / 1.603 GB, free: 77.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002453/3.666, allocations: 0.9762 MB / 1.604 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/3.666, allocations: 0.9736 MB / 1.605 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/3.666, allocations: 0 / 1.605 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/3.667, allocations: 329.2 kB / 1.605 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/3.667, allocations: 119.4 kB / 1.605 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008219/3.668, allocations: 0.8905 MB / 1.606 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/3.669, allocations: 174.3 kB / 1.606 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/3.669, allocations: 31.39 kB / 1.606 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/3.669, allocations: 3.969 kB / 1.606 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002262/3.672, allocations: 0.8543 MB / 1.607 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/3.672, allocations: 3.875 kB / 1.607 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007571/3.672, allocations: 316.1 kB / 1.607 GB, free: 75.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/3.673, allocations: 116.6 kB / 1.607 GB, free: 75.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/3.674, allocations: 0.8949 MB / 1.608 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/3.675, allocations: 164.8 kB / 1.609 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/3.675, allocations: 36.69 kB / 1.609 GB, free: 75.43 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 () * 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.0001908/3.675, allocations: 144.3 kB / 1.609 GB, free: 75.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/3.675, allocations: 106.1 kB / 1.609 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/3.678, allocations: 1.14 MB / 1.61 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/3.678, allocations: 4.781 kB / 1.61 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/3.678, allocations: 0 / 1.61 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/3.678, allocations: 6.953 kB / 1.61 GB, free: 75.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/3.682, allocations: 2.161 MB / 1.612 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/3.682, allocations: 3.719 kB / 1.612 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/3.683, allocations: 108.6 kB / 1.612 GB, free: 74.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000754/3.683, allocations: 332.5 kB / 1.612 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/3.683, allocations: 21.39 kB / 1.612 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008187/3.684, allocations: 0.919 MB / 1.613 GB, free: 74.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.684, allocations: 2.844 kB / 1.613 GB, free: 74.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/3.686, allocations: 1.013 MB / 1.614 GB, free: 73.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/3.686, allocations: 288.7 kB / 1.615 GB, free: 73.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/3.686, allocations: 9.469 kB / 1.615 GB, free: 73.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/3.687, allocations: 135.1 kB / 1.615 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/3.687, allocations: 43.25 kB / 1.615 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/3.687, allocations: 23.78 kB / 1.615 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007915/3.688, allocations: 0.6496 MB / 1.615 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/3.688, allocations: 1.406 kB / 1.615 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001774/3.69, allocations: 0.6255 MB / 1.616 GB, free: 73.51 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 () * 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.001235/3.691, allocations: 0.6821 MB / 1.617 GB, free: 73.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001893/3.693, allocations: 0.9982 MB / 1.618 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/3.693, allocations: 0 / 1.618 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/3.694, allocations: 353.4 kB / 1.618 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/3.696, allocations: 0.4969 MB / 1.619 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/3.699, allocations: 1.371 MB / 1.62 GB, free: 72.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/3.699, allocations: 1.09 MB / 1.621 GB, free: 72.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001357/3.701, allocations: 271.5 kB / 1.621 GB, free: 72.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/3.701, allocations: 66.53 kB / 1.621 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/3.701, allocations: 2.812 kB / 1.621 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.04375/3.745, allocations: 30.3 MB / 1.651 GB, free: 70.17 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)