Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 182.4 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009659/0.0009658, allocations: 94.56 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 51.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2285, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4488/0.6774, allocations: 60.88 MB / 1.042 GB, free: 66.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.692, allocations: 11.98 MB / 1.053 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.6941, allocations: 52 kB / 1.053 GB, free: 64.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.6959, allocations: 0.5598 MB / 1.054 GB, free: 64.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.7008, allocations: 1.784 MB / 1.056 GB, free: 63.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.7039, allocations: 1.09 MB / 1.057 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005391/0.7093, allocations: 3.912 MB / 1.061 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.7109, allocations: 0.9548 MB / 1.062 GB, free: 62.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.7134, allocations: 1.171 MB / 1.063 GB, free: 62.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.7147, allocations: 0.8988 MB / 1.064 GB, free: 61.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.7149, allocations: 61.28 kB / 1.064 GB, free: 61.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.7178, allocations: 1.34 MB / 1.065 GB, free: 61.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.7182, allocations: 250.1 kB / 1.065 GB, free: 61.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.719, allocations: 0.6316 MB / 1.066 GB, free: 60.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.7226, allocations: 2.261 MB / 1.068 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7226, allocations: 0 / 1.068 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7226, allocations: 0 / 1.068 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.7226, allocations: 3.938 kB / 1.068 GB, free: 59.88 MB / 0.7448 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.002814/0.7254, allocations: 1.742 MB / 1.07 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.7255, allocations: 9.438 kB / 1.07 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.7279, allocations: 463 kB / 1.07 GB, free: 58.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.7297, allocations: 1.138 MB / 1.071 GB, free: 57.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.7301, allocations: 117.9 kB / 1.071 GB, free: 57.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.7302, allocations: 81.34 kB / 1.071 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.7321, allocations: 1.007 MB / 1.072 GB, free: 57.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.7321, allocations: 3.938 kB / 1.072 GB, free: 57.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.7322, allocations: 34.59 kB / 1.072 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.7322, allocations: 19.25 kB / 1.072 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.7346, allocations: 0.9486 MB / 1.073 GB, free: 57.06 MB / 0.7448 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.005325/0.74, allocations: 4.686 MB / 1.078 GB, free: 53.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.7438, allocations: 0.9985 MB / 1.079 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.7449, allocations: 418.2 kB / 1.079 GB, free: 53.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/0.7457, allocations: 1.016 MB / 1.08 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.7458, allocations: 42.22 kB / 1.08 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 3.527e-06/0.7458, allocations: 0 / 1.08 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53): time 0.009046/0.7548, allocations: 2.228 MB / 1.083 GB, free: 51.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.7549, allocations: 62.03 kB / 1.083 GB, free: 51.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7559, allocations: 0.9379 MB / 1.084 GB, free: 50.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.756, allocations: 36.83 kB / 1.084 GB, free: 50.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.7563, allocations: 0.5019 MB / 1.084 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.7564, allocations: 187.1 kB / 1.084 GB, free: 50.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.7566, allocations: 132.3 kB / 1.084 GB, free: 50.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.7567, allocations: 326.3 kB / 1.085 GB, free: 50.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/0.7577, allocations: 361.9 kB / 1.085 GB, free: 49.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.7587, allocations: 0.521 MB / 1.086 GB, free: 49.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.7606, allocations: 0.7695 MB / 1.086 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7607, allocations: 0 / 1.086 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002812/0.7635, allocations: 1.069 MB / 1.087 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.7635, allocations: 6.5 kB / 1.087 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7635, allocations: 3.125 kB / 1.087 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.7647, allocations: 309.1 kB / 1.088 GB, free: 48.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.7653, allocations: 136.7 kB / 1.088 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.7666, allocations: 0.9059 MB / 1.089 GB, free: 48.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.7679, allocations: 167 kB / 1.089 GB, free: 48.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.768, allocations: 28.48 kB / 1.089 GB, free: 48.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00128/0.7693, allocations: 0.5601 MB / 1.089 GB, free: 47.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.7703, allocations: 0.5192 MB / 1.09 GB, free: 47.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001834/0.7722, allocations: 0.7565 MB / 1.091 GB, free: 47.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.7722, allocations: 4 kB / 1.091 GB, free: 47.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002698/0.7749, allocations: 1.064 MB / 1.092 GB, free: 46.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7749, allocations: 6 kB / 1.092 GB, free: 46.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7749, allocations: 4.578 kB / 1.092 GB, free: 46.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.776, allocations: 309.3 kB / 1.092 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.7765, allocations: 135.4 kB / 1.092 GB, free: 46.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.7778, allocations: 0.901 MB / 1.093 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7789, allocations: 151.5 kB / 1.093 GB, free: 46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.779, allocations: 28.12 kB / 1.093 GB, free: 46 MB / 0.7448 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.7792, allocations: 214.9 kB / 1.093 GB, free: 45.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.7794, allocations: 104.9 kB / 1.093 GB, free: 45.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.7836, allocations: 1.327 MB / 1.095 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.7836, allocations: 6.531 kB / 1.095 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7836, allocations: 1.125 kB / 1.095 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.7836, allocations: 3.562 kB / 1.095 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.7891, allocations: 2.432 MB / 1.097 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7891, allocations: 3 kB / 1.097 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.7896, allocations: 103.3 kB / 1.097 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009766/0.7906, allocations: 307.5 kB / 1.098 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.7906, allocations: 18.22 kB / 1.098 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.7919, allocations: 0.9396 MB / 1.098 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7919, allocations: 4.484 kB / 1.098 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.7974, allocations: 2.561 MB / 1.101 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.7979, allocations: 277.8 kB / 1.101 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.7981, allocations: 15.06 kB / 1.101 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.7989, allocations: 111.4 kB / 1.101 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.799, allocations: 35.78 kB / 1.101 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.7991, allocations: 31.42 kB / 1.101 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007322/0.7998, allocations: 0.6575 MB / 1.102 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7999, allocations: 4 kB / 1.102 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001583/0.8014, allocations: 0.5865 MB / 1.103 GB, free: 41.36 MB / 0.7448 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006776/0.8021, allocations: 374.5 kB / 1.103 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003663/0.8058, allocations: 1.31 MB / 1.104 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.8058, allocations: 3.938 kB / 1.104 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.807, allocations: 460.6 kB / 1.105 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.8096, allocations: 0.5123 MB / 1.105 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.8134, allocations: 2.654 MB / 1.108 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.8139, allocations: 1.087 MB / 1.109 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001051/0.815, allocations: 235.6 kB / 1.109 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.8152, allocations: 84.2 kB / 1.109 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.8152, allocations: 0 / 1.109 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.03825/0.8535, allocations: 24.65 MB / 1.133 GB, free: 35.95 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)