Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.1-maint.9.1.x/package.mo", uses=false) 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) 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.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",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.001074/0.001074, allocations: 100.1 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.001181/0.001181, allocations: 177.3 kB / 15.95 MB, free: 216 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.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7295, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.0495/0.779, allocations: 52.39 MB / 1.005 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.7964, allocations: 11.66 MB / 1.016 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.799, allocations: 51.53 kB / 1.016 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.8018, allocations: 0.8397 MB / 1.017 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.8093, allocations: 2.173 MB / 1.019 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.8153, allocations: 1.623 MB / 1.021 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007422/0.8227, allocations: 2.546 MB / 1.023 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.8249, allocations: 1.076 MB / 1.024 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.8278, allocations: 1.218 MB / 1.025 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.8295, allocations: 0.8713 MB / 1.026 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.8297, allocations: 68 kB / 1.026 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.8324, allocations: 0.8621 MB / 1.027 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.8329, allocations: 350.7 kB / 1.028 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.8335, allocations: 384.8 kB / 1.028 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.8365, allocations: 2.166 MB / 1.03 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8365, allocations: 0 / 1.03 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8365, allocations: 0 / 1.03 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.962e-05/0.8365, allocations: 0 / 1.03 GB, free: 1.723 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004139/0.8407, allocations: 2.002 MB / 1.032 GB, free: 15.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8407, allocations: 12.03 kB / 1.032 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.841, allocations: 168.6 kB / 1.032 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.8424, allocations: 349.5 kB / 1.032 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.8451, allocations: 1.419 MB / 1.034 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.8452, allocations: 161.5 kB / 1.034 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.8454, allocations: 107.9 kB / 1.034 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.8481, allocations: 1.426 MB / 1.036 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.8481, allocations: 0 / 1.036 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.8483, allocations: 44 kB / 1.036 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.8483, allocations: 31.95 kB / 1.036 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.8513, allocations: 1.339 MB / 1.037 GB, free: 10.46 MB / 0.795 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.008097/0.8594, allocations: 6.394 MB / 1.043 GB, free: 3.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.8616, allocations: 1.147 MB / 1.044 GB, free: 2.395 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.8624, allocations: 1.141 MB / 1.045 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.8624, allocations: 47.2 kB / 1.045 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 2.726e-06/0.8624, allocations: 4 kB / 1.045 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of matching and sorting (n=77): time 0.00405/0.8665, allocations: 1.57 MB / 1.047 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.8666, allocations: 115.6 kB / 1.047 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.8683, allocations: 1.319 MB / 1.048 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8685, allocations: 45.7 kB / 1.048 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.869, allocations: 0.7125 MB / 1.049 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.8693, allocations: 264.1 kB / 1.049 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.8694, allocations: 23.94 kB / 1.049 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8695, allocations: 345.7 kB / 1.05 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.871, allocations: 485.7 kB / 1.05 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.8723, allocations: 0.7113 MB / 1.051 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8736, allocations: 0.5222 MB / 1.051 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8736, allocations: 4 kB / 1.051 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003135/0.8767, allocations: 1.335 MB / 1.053 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008349/0.8776, allocations: 1.883 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8776, allocations: 8 kB / 1.055 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.8776, allocations: 12 kB / 1.055 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8789, allocations: 295.5 kB / 1.055 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.8789, allocations: 8 kB / 1.055 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.8804, allocations: 223 kB / 1.055 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.8805, allocations: 35.98 kB / 1.055 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.8806, allocations: 4 kB / 1.055 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002711/0.8833, allocations: 1.179 MB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8833, allocations: 4 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8833, allocations: 8 kB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.8845, allocations: 300.2 kB / 1.057 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.8845, allocations: 19.88 kB / 1.057 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8859, allocations: 211 kB / 1.057 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.886, allocations: 39.98 kB / 1.057 GB, free: 4.965 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0008213/0.8869, allocations: 464.8 kB / 1.057 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.8871, allocations: 150.2 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.8902, allocations: 1.47 MB / 1.059 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.8903, allocations: 8 kB / 1.059 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8903, allocations: 3.953 kB / 1.059 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002343/0.8926, allocations: 1.097 MB / 1.06 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005893/0.8985, allocations: 2.911 MB / 1.063 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.8986, allocations: 4.562 kB / 1.063 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.8995, allocations: 219.7 kB / 1.063 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.24e-05/0.8996, allocations: 8 kB / 1.063 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.8997, allocations: 27.92 kB / 1.063 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.8997, allocations: 4 kB / 1.063 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.8997, allocations: 19.83 kB / 1.063 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.9042, allocations: 2.296 MB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/0.9052, allocations: 370.8 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/0.9057, allocations: 23.98 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.9073, allocations: 166.3 kB / 1.066 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.9075, allocations: 84.39 kB / 1.066 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.9077, allocations: 43.95 kB / 1.066 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001809/0.9095, allocations: 0.9402 MB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9095, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002819/0.9123, allocations: 0.8029 MB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.00619/0.9185, allocations: 4.364 MB / 1.072 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004415/0.923, allocations: 1.787 MB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.923, allocations: 4 kB / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.9246, allocations: 0.6289 MB / 1.074 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.9282, allocations: 0.6667 MB / 1.075 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/0.937, allocations: 7.412 MB / 1.082 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.9382, allocations: 1.319 MB / 1.083 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002047/0.9402, allocations: 393.1 kB / 1.084 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.9413, allocations: 0.6125 MB / 1.084 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of SimCode: time 1.704e-06/0.9413, allocations: 0 / 1.084 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/1.011, allocations: 40.44 MB / 1.124 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.011, allocations: 233.8 kB / 1.124 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/4.049, allocations: 4.062 kB / 1.124 GB, free: 15.63 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat