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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.0014/0.0014, allocations: 172.9 kB / 366.7 MB, free: 1.676 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.62/1.62, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009101/0.00091, allocations: 87.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.112e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.6659, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.614, allocations: 418.2 MB / 1.382 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.614, allocations: 95.12 kB / 1.382 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.93/4.544, allocations: 0.9306 GB / 2.312 GB, free: 32.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/4.544, allocations: 0 / 2.312 GB, free: 32.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002564/4.544, allocations: 79.86 kB / 2.312 GB, free: 32.24 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.00691/4.551, allocations: 2.938 MB / 2.315 GB, free: 29.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/4.551, allocations: 8.031 kB / 2.315 GB, free: 29.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/4.554, allocations: 0.5854 MB / 2.316 GB, free: 28.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/4.56, allocations: 2.934 MB / 2.319 GB, free: 25.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/4.56, allocations: 226.6 kB / 2.319 GB, free: 25.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/4.56, allocations: 120 kB / 2.319 GB, free: 25.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002798/4.563, allocations: 1.792 MB / 2.321 GB, free: 23.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/4.566, allocations: 2.106 MB / 2.323 GB, free: 21.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/4.566, allocations: 11.89 kB / 2.323 GB, free: 21.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/4.566, allocations: 11.98 kB / 2.323 GB, free: 21.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/4.566, allocations: 55.94 kB / 2.323 GB, free: 21.16 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.01324/4.58, allocations: 11.03 MB / 2.334 GB, free: 9.641 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/4.581, allocations: 1.196 MB / 2.335 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/4.582, allocations: 0.6534 MB / 2.336 GB, free: 7.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/4.583, allocations: 1.331 MB / 2.337 GB, free: 6.121 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/4.584, allocations: 0.9597 MB / 2.338 GB, free: 5.074 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 3.307e-06/4.584, allocations: 3.938 kB / 2.338 GB, free: 5.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.002797/4.587, allocations: 1.438 MB / 2.339 GB, free: 3.625 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/4.587, allocations: 0.7849 MB / 2.34 GB, free: 2.652 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/4.59, allocations: 1.985 MB / 2.342 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/4.59, allocations: 37.69 kB / 2.342 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/4.591, allocations: 1.356 MB / 2.343 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/4.592, allocations: 358.7 kB / 2.344 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/4.592, allocations: 3.938 kB / 2.344 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000168/4.592, allocations: 361.9 kB / 2.344 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/4.593, allocations: 0.6053 MB / 2.345 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/4.594, allocations: 1.185 MB / 2.346 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/4.596, allocations: 0.7499 MB / 2.346 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/4.596, allocations: 4 kB / 2.346 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003835/4.6, allocations: 1.818 MB / 2.348 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002069/4.602, allocations: 4.252 MB / 2.352 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/4.602, allocations: 8 kB / 2.352 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.105e-05/4.602, allocations: 20 kB / 2.352 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/4.604, allocations: 395.4 kB / 2.353 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/4.604, allocations: 27.86 kB / 2.353 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/4.607, allocations: 254.2 kB / 2.353 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/4.607, allocations: 79.91 kB / 2.353 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/4.607, allocations: 7.938 kB / 2.353 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002884/4.61, allocations: 1.549 MB / 2.355 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/4.61, allocations: 9 kB / 2.355 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/4.61, allocations: 20 kB / 2.355 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/4.612, allocations: 395.4 kB / 2.355 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/4.612, allocations: 19.94 kB / 2.355 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/4.614, allocations: 218.6 kB / 2.355 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/4.614, allocations: 71.97 kB / 2.355 GB, free: 2.211 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.0004359/4.615, allocations: 148.5 kB / 2.356 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002962/4.618, allocations: 1.454 MB / 2.357 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/4.618, allocations: 253 kB / 2.357 GB, free: 352 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.673/5.291, allocations: 1.642 MB / 2.359 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/5.291, allocations: 13.62 kB / 2.359 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/5.291, allocations: 4.719 kB / 2.359 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/5.293, allocations: 1.29 MB / 2.36 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009091/5.302, allocations: 5.127 MB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/5.303, allocations: 6.141 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/5.304, allocations: 269.3 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/5.304, allocations: 9.438 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/5.304, allocations: 18.78 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-05/5.304, allocations: 11.2 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/5.304, allocations: 13.11 kB / 2.365 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/5.309, allocations: 2.91 MB / 2.368 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/5.311, allocations: 0.5987 MB / 2.369 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/5.311, allocations: 13.94 kB / 2.369 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/5.313, allocations: 133 kB / 2.369 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/5.313, allocations: 106.3 kB / 2.369 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/5.313, allocations: 52.59 kB / 2.369 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002854/5.316, allocations: 1.542 MB / 2.371 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/5.316, allocations: 0 / 2.371 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005779/5.322, allocations: 1.495 MB / 2.372 GB, free: 128.3 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.006705/5.329, allocations: 5.775 MB / 2.378 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003933/5.333, allocations: 2.522 MB / 2.38 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/5.333, allocations: 3.703 kB / 2.38 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/5.334, allocations: 0.7304 MB / 2.381 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/5.341, allocations: 1.048 MB / 2.382 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/5.353, allocations: 4.189 MB / 2.386 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/5.354, allocations: 1.81 MB / 2.388 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008051/5.362, allocations: 0.8995 MB / 2.389 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/5.365, allocations: 1.056 MB / 2.39 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of SimCode: time 2.404e-06/5.365, allocations: 0 / 2.39 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.156/5.521, allocations: 72.68 MB / 2.461 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/5.522, allocations: 201.2 kB / 2.461 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.118/10.64, allocations: 7.094 kB / 2.461 GB, free: 120.3 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)