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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007365/0.007365, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001809/0.001809, allocations: 198.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 75.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6656, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1072/0.7729, allocations: 115.6 MB / 1.2 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02802/0.801, allocations: 20.89 MB / 1.221 GB, free: 60 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004152/0.8052, allocations: 120 kB / 1.221 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.8096, allocations: 1.648 MB / 1.223 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.8201, allocations: 3.966 MB / 1.226 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007077/0.8272, allocations: 2.88 MB / 1.229 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.8375, allocations: 8.082 MB / 1.237 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.8412, allocations: 2.666 MB / 1.24 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00602/0.8472, allocations: 2.999 MB / 1.243 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/0.8506, allocations: 2.35 MB / 1.245 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.8512, allocations: 324 kB / 1.245 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.8556, allocations: 2.043 MB / 1.247 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008825/0.8565, allocations: 0.9307 MB / 1.248 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.8587, allocations: 1.835 MB / 1.25 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.8657, allocations: 5.554 MB / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8658, allocations: 0 / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8658, allocations: 0 / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.129e-05/0.8658, allocations: 0 / 1.255 GB, free: 1.973 MB / 0.9825 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.006774/0.8726, allocations: 3.863 MB / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8727, allocations: 12.02 kB / 1.259 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003488/0.873, allocations: 294.7 kB / 1.259 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.8757, allocations: 0.5853 MB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.88, allocations: 2.629 MB / 1.263 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.8803, allocations: 302.6 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/0.8807, allocations: 204 kB / 1.263 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004421/0.8851, allocations: 2.567 MB / 1.266 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.8851, allocations: 0 / 1.266 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.8854, allocations: 95.88 kB / 1.266 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.8855, allocations: 67.91 kB / 1.266 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004612/0.8901, allocations: 2.219 MB / 1.268 GB, free: 4.844 MB / 0.9981 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.01394/0.904, allocations: 11.43 MB / 1.279 GB, free: 8.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.9069, allocations: 1.297 MB / 1.28 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.9086, allocations: 0.8134 MB / 1.281 GB, free: 6.785 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009406/0.9096, allocations: 1.327 MB / 1.282 GB, free: 5.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/0.9117, allocations: 1.064 MB / 1.283 GB, free: 4.047 MB / 1.014 GB Notification: Performance of pre-optimization done (n=115): time 3.276e-06/0.9118, allocations: 0 / 1.283 GB, free: 4.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=115): time 0.005765/0.9175, allocations: 2.379 MB / 1.286 GB, free: 1.656 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.9177, allocations: 495.6 kB / 1.286 GB, free: 1.062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.9215, allocations: 2.697 MB / 1.289 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.9217, allocations: 61.69 kB / 1.289 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.9228, allocations: 1.299 MB / 1.29 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.9232, allocations: 406.2 kB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.9237, allocations: 335.3 kB / 1.291 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.9238, allocations: 305.1 kB / 1.291 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.9256, allocations: 0.7777 MB / 1.292 GB, free: 11.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.9278, allocations: 1.313 MB / 1.293 GB, free: 9.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.9314, allocations: 1.856 MB / 1.295 GB, free: 7.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.9314, allocations: 4 kB / 1.295 GB, free: 7.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00489/0.9363, allocations: 2.268 MB / 1.297 GB, free: 5.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.9363, allocations: 39.73 kB / 1.297 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.9364, allocations: 12 kB / 1.297 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.9364, allocations: 19.94 kB / 1.297 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.9382, allocations: 407.9 kB / 1.298 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.9382, allocations: 23.92 kB / 1.298 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.9403, allocations: 265.7 kB / 1.298 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.9405, allocations: 67.97 kB / 1.298 GB, free: 4.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002531/0.943, allocations: 1.277 MB / 1.299 GB, free: 3.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002115/0.9452, allocations: 1.309 MB / 1.301 GB, free: 1.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003541/0.9487, allocations: 1.852 MB / 1.302 GB, free: 15.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.099e-06/0.9487, allocations: 0 / 1.302 GB, free: 15.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004755/0.9535, allocations: 2.249 MB / 1.305 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.9536, allocations: 37.7 kB / 1.305 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.9536, allocations: 11.98 kB / 1.305 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9536, allocations: 20 kB / 1.305 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.9554, allocations: 411.9 kB / 1.305 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.9554, allocations: 23.92 kB / 1.305 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.9575, allocations: 215.1 kB / 1.305 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.9577, allocations: 67.98 kB / 1.305 GB, free: 12.67 MB / 1.045 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 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004336/0.9581, allocations: 291.7 kB / 1.306 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005008/0.9586, allocations: 276.6 kB / 1.306 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.9631, allocations: 2.095 MB / 1.308 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.9631, allocations: 16 kB / 1.308 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9631, allocations: 4 kB / 1.308 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003453/0.9666, allocations: 1.653 MB / 1.31 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/0.9752, allocations: 5.221 MB / 1.315 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9753, allocations: 8.75 kB / 1.315 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.9767, allocations: 275.5 kB / 1.315 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.9767, allocations: 15.94 kB / 1.315 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.9768, allocations: 31.98 kB / 1.315 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.9769, allocations: 11.98 kB / 1.315 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9769, allocations: 11.94 kB / 1.315 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.9829, allocations: 3.086 MB / 1.318 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.9841, allocations: 0.5871 MB / 1.319 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/0.9846, allocations: 35.94 kB / 1.319 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.9864, allocations: 119.8 kB / 1.319 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.9867, allocations: 108.8 kB / 1.319 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.9868, allocations: 63.94 kB / 1.319 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002678/0.9895, allocations: 1.884 MB / 1.321 GB, free: 12.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9895, allocations: 0 / 1.321 GB, free: 12.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003465/0.993, allocations: 1.458 MB / 1.322 GB, free: 11.11 MB / 1.061 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007433/1, allocations: 4.203 MB / 1.326 GB, free: 6.816 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006249/1.007, allocations: 3.027 MB / 1.329 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.007, allocations: 0.6719 kB / 1.329 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.009, allocations: 0.9283 MB / 1.33 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006096/1.015, allocations: 1.39 MB / 1.331 GB, free: 1.484 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/1.048, allocations: 20.79 MB / 1.352 GB, free: 12.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.05, allocations: 1.761 MB / 1.354 GB, free: 10.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002746/1.053, allocations: 0.7047 MB / 1.354 GB, free: 9.613 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.054, allocations: 1.163 MB / 1.355 GB, free: 8.449 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/1.054, allocations: 0 / 1.355 GB, free: 8.449 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.171, allocations: 76.43 MB / 1.43 GB, free: 12.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.44, allocations: 3.859 kB / 1.43 GB, free: 12.87 MB / 1.17 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/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)