Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.9 MB / 297.4 MB, free: 6.297 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.001119/0.001119, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.629/1.629, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008088/0.0008088, allocations: 93.86 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.908e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6641, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.634, allocations: 418.2 MB / 1.382 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.634, allocations: 95.12 kB / 1.382 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.723/4.357, allocations: 0.9306 GB / 2.312 GB, free: 32.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/4.357, allocations: 0 / 2.312 GB, free: 32.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002535/4.357, allocations: 79.86 kB / 2.312 GB, free: 32.71 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006485/4.364, allocations: 2.922 MB / 2.315 GB, free: 29.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/4.364, allocations: 19.97 kB / 2.315 GB, free: 29.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/4.367, allocations: 0.5816 MB / 2.316 GB, free: 29.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/4.372, allocations: 2.941 MB / 2.319 GB, free: 26.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/4.373, allocations: 230.6 kB / 2.319 GB, free: 25.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/4.373, allocations: 120 kB / 2.319 GB, free: 25.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003047/4.376, allocations: 1.792 MB / 2.321 GB, free: 23.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/4.379, allocations: 2.103 MB / 2.323 GB, free: 21.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/4.379, allocations: 7.938 kB / 2.323 GB, free: 21.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/4.379, allocations: 4 kB / 2.323 GB, free: 21.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/4.379, allocations: 67.92 kB / 2.323 GB, free: 21.63 MB / 0.948 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.01205/4.391, allocations: 11.03 MB / 2.334 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/4.393, allocations: 1.196 MB / 2.335 GB, free: 8.863 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/4.393, allocations: 0.6582 MB / 2.335 GB, free: 8.207 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/4.394, allocations: 1.323 MB / 2.337 GB, free: 6.586 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/4.395, allocations: 0.9706 MB / 2.338 GB, free: 5.527 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 3.086e-06/4.395, allocations: 3.938 kB / 2.338 GB, free: 5.523 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.002451/4.398, allocations: 1.434 MB / 2.339 GB, free: 4.082 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/4.398, allocations: 0.7892 MB / 2.34 GB, free: 3.105 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/4.4, allocations: 1.981 MB / 2.342 GB, free: 1.113 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/4.401, allocations: 37.7 kB / 2.342 GB, free: 1.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/4.402, allocations: 1.356 MB / 2.343 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/4.402, allocations: 358.7 kB / 2.344 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/4.402, allocations: 0 / 2.344 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001716/4.402, allocations: 357.9 kB / 2.344 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009716/4.403, allocations: 0.6092 MB / 2.344 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/4.405, allocations: 1.181 MB / 2.346 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/4.406, allocations: 0.7538 MB / 2.346 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/4.406, allocations: 4 kB / 2.346 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003718/4.41, allocations: 1.819 MB / 2.348 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001793/4.412, allocations: 4.256 MB / 2.352 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/4.412, allocations: 12 kB / 2.352 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/4.412, allocations: 20 kB / 2.352 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/4.414, allocations: 391.4 kB / 2.353 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/4.414, allocations: 23.94 kB / 2.353 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/4.416, allocations: 258.3 kB / 2.353 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/4.417, allocations: 75.91 kB / 2.353 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/4.417, allocations: 7.938 kB / 2.353 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002878/4.42, allocations: 1.538 MB / 2.355 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/4.42, allocations: 12 kB / 2.355 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/4.42, allocations: 19.98 kB / 2.355 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/4.421, allocations: 399.8 kB / 2.355 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/4.421, allocations: 23.92 kB / 2.355 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/4.424, allocations: 226.5 kB / 2.355 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/4.424, allocations: 67.97 kB / 2.355 GB, free: 2.672 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004037/4.424, allocations: 156.5 kB / 2.355 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/4.425, allocations: 249 kB / 2.356 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/4.428, allocations: 1.656 MB / 2.357 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/4.428, allocations: 16 kB / 2.357 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/4.428, allocations: 0 / 2.357 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6411/5.069, allocations: 1.284 MB / 2.359 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/5.08, allocations: 5.115 MB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/5.08, allocations: 5.281 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/5.082, allocations: 265.8 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.631e-05/5.082, allocations: 15.53 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/5.082, allocations: 19.45 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/5.082, allocations: 12.55 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/5.082, allocations: 7.5 kB / 2.364 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/5.087, allocations: 2.919 MB / 2.367 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/5.089, allocations: 0.5916 MB / 2.367 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/5.09, allocations: 17.06 kB / 2.367 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/5.092, allocations: 129.9 kB / 2.367 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/5.092, allocations: 110.2 kB / 2.368 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/5.092, allocations: 52.59 kB / 2.368 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002755/5.095, allocations: 1.545 MB / 2.369 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.71e-07/5.095, allocations: 0 / 2.369 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005216/5.1, allocations: 1.489 MB / 2.371 GB, free: 128.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/5.103, allocations: 1.205 MB / 2.372 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00414/5.107, allocations: 2.522 MB / 2.374 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/5.107, allocations: 2.984 kB / 2.374 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/5.108, allocations: 0.7345 MB / 2.375 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/5.114, allocations: 1.043 MB / 2.376 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/5.121, allocations: 3.613 MB / 2.379 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/5.122, allocations: 1.814 MB / 2.381 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004461/5.127, allocations: 0.9037 MB / 2.382 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/5.127, allocations: 149.9 kB / 2.382 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.443e-06/5.127, allocations: 0 / 2.382 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.096/5.223, allocations: 50.64 MB / 2.432 GB, free: 124 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)