Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 11.98 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.08489/0.8319, allocations: 96.59 MB / 1.075 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.8562, allocations: 17.95 MB / 1.093 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004685/0.861, allocations: 95.38 kB / 1.093 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005542/0.8665, allocations: 1.427 MB / 1.094 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.8793, allocations: 3.707 MB / 1.098 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008387/0.8877, allocations: 2.711 MB / 1.1 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009774/0.8975, allocations: 4.763 MB / 1.105 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.9014, allocations: 2.019 MB / 1.107 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0052/0.9066, allocations: 2.18 MB / 1.109 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.9092, allocations: 1.548 MB / 1.111 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.9096, allocations: 128 kB / 1.111 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.9134, allocations: 1.213 MB / 1.112 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007079/0.9141, allocations: 0.6266 MB / 1.113 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.9152, allocations: 0.668 MB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.9206, allocations: 3.865 MB / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9206, allocations: 0 / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9206, allocations: 4 kB / 1.117 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001376/0.9207, allocations: 0 / 1.117 GB, free: 10.51 MB / 0.8731 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.006971/0.9277, allocations: 3.218 MB / 1.12 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.9278, allocations: 8.031 kB / 1.12 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005647/0.9284, allocations: 290.5 kB / 1.121 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.931, allocations: 0.644 MB / 1.121 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.9365, allocations: 2.548 MB / 1.124 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.9368, allocations: 310.6 kB / 1.124 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.9371, allocations: 204 kB / 1.124 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/0.9416, allocations: 2.473 MB / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.9417, allocations: 3.938 kB / 1.127 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.9419, allocations: 91.95 kB / 1.127 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/0.9419, allocations: 56 kB / 1.127 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/0.9463, allocations: 2.079 MB / 1.129 GB, free: 14.3 MB / 0.8887 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.01561/0.9619, allocations: 10.95 MB / 1.139 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.9645, allocations: 1.204 MB / 1.141 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.9655, allocations: 1.323 MB / 1.142 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.9675, allocations: 0.9812 MB / 1.143 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=115): time 2.615e-06/0.9675, allocations: 0 / 1.143 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=115): time 0.005083/0.9726, allocations: 2.18 MB / 1.145 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.9728, allocations: 479.7 kB / 1.145 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.9762, allocations: 2.525 MB / 1.148 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.9765, allocations: 57.7 kB / 1.148 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.9777, allocations: 1.315 MB / 1.149 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.9782, allocations: 414.1 kB / 1.15 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.9783, allocations: 36 kB / 1.15 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9785, allocations: 365.9 kB / 1.15 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.98, allocations: 0.691 MB / 1.151 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.9819, allocations: 1.219 MB / 1.152 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.9835, allocations: 0.8122 MB / 1.153 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.9835, allocations: 7.938 kB / 1.153 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004415/0.9879, allocations: 2.1 MB / 1.155 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.001471/0.9894, allocations: 4.325 MB / 1.159 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.9894, allocations: 8 kB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.9895, allocations: 20 kB / 1.159 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.9914, allocations: 423.4 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.9914, allocations: 23.92 kB / 1.159 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.9941, allocations: 341.5 kB / 1.16 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.9943, allocations: 71.97 kB / 1.16 GB, free: 12.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9943, allocations: 4 kB / 1.16 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003864/0.9982, allocations: 1.828 MB / 1.162 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.9982, allocations: 12 kB / 1.162 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.9983, allocations: 16 kB / 1.162 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.9999, allocations: 423.8 kB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/1, allocations: 27.83 kB / 1.162 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/1.003, allocations: 306.1 kB / 1.162 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.003, allocations: 71.97 kB / 1.162 GB, free: 10.23 MB / 0.92 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,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * 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.001506/1.004, allocations: 0.6841 MB / 1.163 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/1.005, allocations: 284.6 kB / 1.163 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/1.009, allocations: 1.949 MB / 1.165 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.009, allocations: 16 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.009, allocations: 11.94 kB / 1.165 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002973/1.012, allocations: 1.505 MB / 1.167 GB, free: 5.707 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009239/1.021, allocations: 4.773 MB / 1.171 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.021, allocations: 12.12 kB / 1.171 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.022, allocations: 279.6 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/1.023, allocations: 12 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.973e-05/1.023, allocations: 31.98 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/1.023, allocations: 19.92 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.023, allocations: 7.938 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006542/1.029, allocations: 3.38 MB / 1.175 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.031, allocations: 0.587 MB / 1.176 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/1.032, allocations: 31.98 kB / 1.176 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.034, allocations: 187.8 kB / 1.176 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.034, allocations: 116.7 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.034, allocations: 59.95 kB / 1.176 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00318/1.037, allocations: 1.759 MB / 1.178 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.52e-07/1.037, allocations: 4 kB / 1.178 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005047/1.042, allocations: 1.415 MB / 1.179 GB, free: 8.551 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.008212/1.051, allocations: 5.852 MB / 1.185 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00596/1.057, allocations: 2.785 MB / 1.188 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.057, allocations: 4.438 kB / 1.188 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.059, allocations: 0.8548 MB / 1.188 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/1.065, allocations: 1.29 MB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.082, allocations: 14.25 MB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.084, allocations: 1.819 MB / 1.205 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004447/1.089, allocations: 0.6921 MB / 1.206 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.09, allocations: 1.14 MB / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of SimCode: time 1.973e-06/1.09, allocations: 4 kB / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/3.44, allocations: 74.21 MB / 1.28 GB, free: 243.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01158/3.452, allocations: 254 kB / 1.28 GB, free: 243.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/8.752, allocations: 4 kB / 1.28 GB, free: 243.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat does not exist to compare? outputFormat=mat