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.001337/0.001337, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4958/0.4958, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008449, allocations: 103.4 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.481e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9783/1.108, allocations: 386.2 MB / 0.9307 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.108, allocations: 87.02 kB / 0.9307 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.237/3.345, allocations: 0.6467 GB / 1.577 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/3.345, allocations: 2.344 kB / 1.577 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000191/3.345, allocations: 35 kB / 1.578 GB, free: 87.04 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.003964/3.349, allocations: 1.49 MB / 1.579 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/3.349, allocations: 10.53 kB / 1.579 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/3.352, allocations: 490.2 kB / 1.579 GB, free: 86.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/3.355, allocations: 1.316 MB / 1.581 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/3.355, allocations: 104 kB / 1.581 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/3.356, allocations: 48.78 kB / 1.581 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/3.357, allocations: 0.6527 MB / 1.582 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/3.358, allocations: 0.7749 MB / 1.582 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/3.358, allocations: 0 / 1.582 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/3.359, allocations: 3.219 kB / 1.582 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/3.359, allocations: 31.91 kB / 1.582 GB, free: 85.75 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.006622/3.365, allocations: 4.525 MB / 1.587 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/3.366, allocations: 0.5683 MB / 1.587 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/3.367, allocations: 272.5 kB / 1.588 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/3.368, allocations: 0.8603 MB / 1.588 GB, free: 82.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/3.368, allocations: 35.69 kB / 1.588 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.516e-06/3.368, allocations: 0 / 1.588 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.001839/3.369, allocations: 0.7249 MB / 1.589 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/3.369, allocations: 54.78 kB / 1.589 GB, free: 82.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/3.37, allocations: 0.6867 MB / 1.59 GB, free: 82.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/3.371, allocations: 25.7 kB / 1.59 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/3.371, allocations: 0.5093 MB / 1.59 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/3.371, allocations: 182.4 kB / 1.591 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/3.371, allocations: 0 / 1.591 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/3.371, allocations: 328 kB / 1.591 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/3.371, allocations: 202.6 kB / 1.591 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/3.372, allocations: 410.4 kB / 1.591 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/3.372, allocations: 278.8 kB / 1.592 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.372, allocations: 0 / 1.592 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002809/3.375, allocations: 0.9663 MB / 1.593 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/3.375, allocations: 0.969 MB / 1.594 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/3.376, allocations: 3.844 kB / 1.594 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/3.376, allocations: 307.2 kB / 1.594 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/3.377, allocations: 119.4 kB / 1.594 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009683/3.378, allocations: 0.946 MB / 1.595 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/3.379, allocations: 143 kB / 1.595 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/3.379, allocations: 29.14 kB / 1.595 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/3.379, allocations: 6.875 kB / 1.595 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002572/3.382, allocations: 0.8387 MB / 1.596 GB, free: 79.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/3.382, allocations: 3.531 kB / 1.596 GB, free: 79.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/3.382, allocations: 301 kB / 1.596 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/3.383, allocations: 118.3 kB / 1.596 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/3.384, allocations: 0.9306 MB / 1.597 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/3.385, allocations: 138 kB / 1.597 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/3.385, allocations: 36.16 kB / 1.597 GB, free: 78.95 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002271/3.385, allocations: 121.2 kB / 1.598 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/3.385, allocations: 97.22 kB / 1.598 GB, free: 78.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/3.388, allocations: 1.058 MB / 1.599 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/3.388, allocations: 6.469 kB / 1.599 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/3.388, allocations: 0 / 1.599 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/3.388, allocations: 3.516 kB / 1.599 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/3.391, allocations: 1.88 MB / 1.6 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/3.391, allocations: 3.609 kB / 1.6 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/3.392, allocations: 101.7 kB / 1.601 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/3.392, allocations: 321.8 kB / 1.601 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/3.392, allocations: 12.23 kB / 1.601 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009542/3.393, allocations: 0.967 MB / 1.602 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/3.393, allocations: 3.938 kB / 1.602 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/3.395, allocations: 0.9895 MB / 1.603 GB, free: 77.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/3.395, allocations: 277.8 kB / 1.603 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/3.396, allocations: 5.188 kB / 1.603 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/3.397, allocations: 114.7 kB / 1.603 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/3.397, allocations: 41.47 kB / 1.603 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/3.397, allocations: 25.97 kB / 1.603 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007344/3.398, allocations: 0.5285 MB / 1.604 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.398, allocations: 1.531 kB / 1.604 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002071/3.4, allocations: 0.617 MB / 1.604 GB, free: 77.08 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.00143/3.401, allocations: 0.678 MB / 1.605 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001832/3.403, allocations: 0.9249 MB / 1.606 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.403, allocations: 1.562 kB / 1.606 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/3.404, allocations: 335.5 kB / 1.606 GB, free: 76.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/3.406, allocations: 431.6 kB / 1.607 GB, free: 76.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/3.408, allocations: 1.309 MB / 1.608 GB, free: 76.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/3.409, allocations: 1.1 MB / 1.609 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00124/3.41, allocations: 245 kB / 1.609 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/3.41, allocations: 58.61 kB / 1.609 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/3.41, allocations: 2.812 kB / 1.609 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.03734/3.448, allocations: 24.76 MB / 1.634 GB, free: 73.5 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)