Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001027/0.001026, allocations: 176.9 kB / 361.4 MB, free: 6.84 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.488/1.488, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008531/0.000853, allocations: 96.44 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.275e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5927/0.5927, allocations: 115.3 MB / 0.9645 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.486, allocations: 417 MB / 1.372 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/1.486, allocations: 91.48 kB / 1.372 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.072/4.558, allocations: 0.9307 GB / 2.302 GB, free: 6.328 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.813e-06/4.558, allocations: 0 / 2.302 GB, free: 6.328 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005258/4.558, allocations: 75.98 kB / 2.302 GB, free: 6.254 MB / 0.9323 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.009647/4.568, allocations: 2.928 MB / 2.305 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/4.568, allocations: 12.03 kB / 2.305 GB, free: 3.25 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/4.572, allocations: 0.5932 MB / 2.306 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008664/4.58, allocations: 2.934 MB / 2.309 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/4.581, allocations: 234.6 kB / 2.309 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008935/4.582, allocations: 120 kB / 2.309 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004972/4.587, allocations: 1.796 MB / 2.311 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005709/4.592, allocations: 2.099 MB / 2.313 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/4.593, allocations: 11.84 kB / 2.313 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/4.593, allocations: 8 kB / 2.313 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/4.593, allocations: 56 kB / 2.313 GB, free: 11.17 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.7706/5.364, allocations: 11.03 MB / 2.324 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/5.366, allocations: 1.205 MB / 2.325 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/5.368, allocations: 0.6525 MB / 2.326 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009468/5.369, allocations: 1.331 MB / 2.327 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/5.37, allocations: 0.9568 MB / 2.328 GB, free: 115.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 3.917e-06/5.37, allocations: 0 / 2.328 GB, free: 115.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.003907/5.374, allocations: 1.442 MB / 2.329 GB, free: 115.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/5.374, allocations: 0.7812 MB / 2.33 GB, free: 114.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/5.379, allocations: 1.985 MB / 2.332 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003813/5.379, allocations: 30.27 kB / 2.332 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/5.38, allocations: 1.353 MB / 2.333 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/5.381, allocations: 362 kB / 2.334 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/5.381, allocations: 4.562 kB / 2.334 GB, free: 113.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001143/5.381, allocations: 360.4 kB / 2.334 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/5.382, allocations: 0.608 MB / 2.335 GB, free: 113.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/5.383, allocations: 1.183 MB / 2.336 GB, free: 112.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/5.385, allocations: 0.746 MB / 2.336 GB, free: 112.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/5.385, allocations: 3.562 kB / 2.336 GB, free: 112.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004316/5.389, allocations: 1.817 MB / 2.338 GB, free: 112.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/5.391, allocations: 4.26 MB / 2.342 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/5.391, allocations: 9.688 kB / 2.342 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.846e-05/5.391, allocations: 18.75 kB / 2.342 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/5.393, allocations: 398.2 kB / 2.343 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.305e-05/5.393, allocations: 28.38 kB / 2.343 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/5.396, allocations: 252.9 kB / 2.343 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/5.396, allocations: 73.23 kB / 2.343 GB, free: 108.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/5.396, allocations: 4.312 kB / 2.343 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004646/5.401, allocations: 1.54 MB / 2.345 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/5.401, allocations: 11.11 kB / 2.345 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.938e-05/5.401, allocations: 19.94 kB / 2.345 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/5.403, allocations: 392.3 kB / 2.345 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.759e-05/5.403, allocations: 28.95 kB / 2.345 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/5.407, allocations: 216.3 kB / 2.345 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/5.407, allocations: 71.3 kB / 2.345 GB, free: 108.1 MB / 0.948 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.0006712/5.408, allocations: 163.9 kB / 2.346 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003691/5.411, allocations: 1.447 MB / 2.347 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000895/5.412, allocations: 247.9 kB / 2.347 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/5.415, allocations: 1.66 MB / 2.349 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/5.415, allocations: 10.81 kB / 2.349 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/5.416, allocations: 3.969 kB / 2.349 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/5.417, allocations: 1.285 MB / 2.35 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00841/5.426, allocations: 5.116 MB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/5.426, allocations: 3.719 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/5.427, allocations: 272 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/5.427, allocations: 7.75 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/5.427, allocations: 25.58 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/5.427, allocations: 13.45 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/5.427, allocations: 6.531 kB / 2.355 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/5.431, allocations: 2.915 MB / 2.358 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/5.433, allocations: 0.6003 MB / 2.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/5.434, allocations: 12.7 kB / 2.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/5.435, allocations: 135.1 kB / 2.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/5.436, allocations: 108.8 kB / 2.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/5.436, allocations: 52.02 kB / 2.359 GB, free: 104.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002517/5.438, allocations: 1.539 MB / 2.361 GB, free: 104.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.438, allocations: 2.844 kB / 2.361 GB, free: 104.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005258/5.443, allocations: 1.498 MB / 2.362 GB, free: 104.4 MB / 0.948 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.006121/5.45, allocations: 5.797 MB / 2.368 GB, free: 101.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004038/5.454, allocations: 2.519 MB / 2.37 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/5.454, allocations: 240 / 2.37 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/5.455, allocations: 0.7316 MB / 2.371 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006438/5.461, allocations: 1.051 MB / 2.372 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/5.474, allocations: 4.187 MB / 2.376 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/5.476, allocations: 1.817 MB / 2.378 GB, free: 99.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005351/5.481, allocations: 0.9103 MB / 2.379 GB, free: 99.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/5.483, allocations: 1.051 MB / 2.38 GB, free: 99.54 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/5.483, allocations: 1.344 kB / 2.38 GB, free: 99.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/5.63, allocations: 72.87 MB / 2.451 GB, free: 96.42 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/5.631, allocations: 202 kB / 2.451 GB, free: 96.14 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.457/11.09, allocations: 0 / 2.451 GB, free: 96.14 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)