Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 188.7 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009585, allocations: 109.3 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.982e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 142.3 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.365, allocations: 429.7 MB / 1.626 GB, free: 9.078 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.366, allocations: 87.27 kB / 1.626 GB, free: 9.035 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.031/4.397, allocations: 0.9535 GB / 2.579 GB, free: 53.51 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.324e-06/4.397, allocations: 0 / 2.579 GB, free: 53.51 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002683/4.397, allocations: 83.86 kB / 2.579 GB, free: 53.43 MB / 1.151 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.007113/4.404, allocations: 2.959 MB / 2.582 GB, free: 50.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/4.404, allocations: 8.031 kB / 2.582 GB, free: 50.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/4.407, allocations: 0.5893 MB / 2.583 GB, free: 49.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/4.413, allocations: 3 MB / 2.586 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/4.414, allocations: 218.6 kB / 2.586 GB, free: 46.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/4.414, allocations: 120 kB / 2.586 GB, free: 46.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002875/4.417, allocations: 1.792 MB / 2.588 GB, free: 44.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/4.42, allocations: 2.122 MB / 2.59 GB, free: 42.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/4.42, allocations: 3.938 kB / 2.59 GB, free: 42.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/4.42, allocations: 11.98 kB / 2.59 GB, free: 42.31 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/4.42, allocations: 87.5 kB / 2.59 GB, free: 42.23 MB / 1.151 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.01328/4.433, allocations: 11.03 MB / 2.601 GB, free: 30.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/4.435, allocations: 1.201 MB / 2.602 GB, free: 29.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/4.436, allocations: 0.6557 MB / 2.603 GB, free: 28.81 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/4.436, allocations: 1.339 MB / 2.604 GB, free: 27.18 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/4.438, allocations: 0.9512 MB / 2.605 GB, free: 26.13 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 2.986e-06/4.438, allocations: 0 / 2.605 GB, free: 26.13 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.003073/4.441, allocations: 1.446 MB / 2.606 GB, free: 24.67 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/4.441, allocations: 0.7772 MB / 2.607 GB, free: 23.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/4.444, allocations: 2.005 MB / 2.609 GB, free: 21.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/4.444, allocations: 30.08 kB / 2.609 GB, free: 21.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/4.445, allocations: 1.36 MB / 2.61 GB, free: 20.27 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/4.445, allocations: 358.7 kB / 2.611 GB, free: 19.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/4.445, allocations: 4 kB / 2.611 GB, free: 19.91 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/4.446, allocations: 361.9 kB / 2.611 GB, free: 19.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/4.446, allocations: 0.6092 MB / 2.612 GB, free: 18.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009852/4.447, allocations: 1.163 MB / 2.613 GB, free: 17.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/4.449, allocations: 0.7421 MB / 2.613 GB, free: 16.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/4.449, allocations: 4 kB / 2.613 GB, free: 16.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003179/4.452, allocations: 1.822 MB / 2.615 GB, free: 14.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007224/4.453, allocations: 4.259 MB / 2.619 GB, free: 10.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/4.453, allocations: 12 kB / 2.619 GB, free: 10.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/4.453, allocations: 16 kB / 2.619 GB, free: 10.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/4.454, allocations: 395.4 kB / 2.62 GB, free: 9.914 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/4.454, allocations: 19.94 kB / 2.62 GB, free: 9.895 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/4.457, allocations: 270.2 kB / 2.62 GB, free: 9.629 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/4.457, allocations: 67.97 kB / 2.62 GB, free: 9.562 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/4.457, allocations: 4 kB / 2.62 GB, free: 9.559 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/4.46, allocations: 1.542 MB / 2.622 GB, free: 8.016 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/4.46, allocations: 11.98 kB / 2.622 GB, free: 8.004 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/4.46, allocations: 23.98 kB / 2.622 GB, free: 7.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/4.461, allocations: 388.2 kB / 2.622 GB, free: 7.602 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/4.461, allocations: 31.86 kB / 2.622 GB, free: 7.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/4.464, allocations: 222.7 kB / 2.622 GB, free: 7.352 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/4.464, allocations: 71.97 kB / 2.622 GB, free: 7.281 MB / 1.151 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.0003833/4.464, allocations: 148.9 kB / 2.622 GB, free: 7.129 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002899/4.467, allocations: 1.446 MB / 2.624 GB, free: 5.676 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007603/4.468, allocations: 249 kB / 2.624 GB, free: 5.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/4.47, allocations: 1.652 MB / 2.626 GB, free: 3.754 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/4.471, allocations: 19.94 kB / 2.626 GB, free: 3.734 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/4.471, allocations: 8 kB / 2.626 GB, free: 3.727 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/4.472, allocations: 1.281 MB / 2.627 GB, free: 2.395 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007791/4.48, allocations: 5.118 MB / 2.632 GB, free: 13.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/4.48, allocations: 7.953 kB / 2.632 GB, free: 13.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/4.481, allocations: 268.2 kB / 2.632 GB, free: 12.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/4.481, allocations: 11.98 kB / 2.632 GB, free: 12.85 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/4.481, allocations: 19.98 kB / 2.632 GB, free: 12.83 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/4.481, allocations: 15.94 kB / 2.632 GB, free: 12.82 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/4.481, allocations: 7.938 kB / 2.632 GB, free: 12.81 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/4.486, allocations: 2.918 MB / 2.635 GB, free: 9.699 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/4.487, allocations: 0.5952 MB / 2.636 GB, free: 9.082 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/4.488, allocations: 15.98 kB / 2.636 GB, free: 9.066 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/4.49, allocations: 135.6 kB / 2.636 GB, free: 8.934 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/4.49, allocations: 108.5 kB / 2.636 GB, free: 8.828 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/4.49, allocations: 51.97 kB / 2.636 GB, free: 8.777 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002582/4.493, allocations: 1.548 MB / 2.638 GB, free: 7.223 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/4.493, allocations: 0 / 2.638 GB, free: 7.223 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005376/4.498, allocations: 1.504 MB / 2.639 GB, free: 5.715 MB / 1.167 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.6328/5.131, allocations: 5.789 MB / 2.645 GB, free: 185.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005091/5.136, allocations: 2.518 MB / 2.647 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/5.136, allocations: 2.203 kB / 2.647 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/5.138, allocations: 0.7377 MB / 2.648 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006106/5.144, allocations: 1.032 MB / 2.649 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/5.155, allocations: 4.199 MB / 2.653 GB, free: 183.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/5.157, allocations: 1.813 MB / 2.655 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004502/5.162, allocations: 0.899 MB / 2.656 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/5.163, allocations: 1.063 MB / 2.657 GB, free: 183.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/5.163, allocations: 0 / 2.657 GB, free: 183.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/5.284, allocations: 72.6 MB / 2.728 GB, free: 180.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/5.284, allocations: 199.5 kB / 2.728 GB, free: 180.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.835/10.12, allocations: 0 / 2.728 GB, free: 180.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat does not exist to compare? outputFormat=mat