Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.598/1.598, allocations: 287.4 MB / 302.6 MB, free: 8.195 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.001233/0.001233, allocations: 186.3 kB / 371.1 MB, free: 10.82 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.48/1.48, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 93.17 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 11.27 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04833/0.2714, allocations: 57.76 MB / 1.035 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.2902, allocations: 13 MB / 1.048 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.2926, allocations: 51.69 kB / 1.048 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.2949, allocations: 0.7923 MB / 1.049 GB, free: 4.301 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005755/0.3007, allocations: 1.844 MB / 1.05 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.3045, allocations: 1.217 MB / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005941/0.3104, allocations: 4.729 MB / 1.056 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.3126, allocations: 1.157 MB / 1.057 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/0.3157, allocations: 1.33 MB / 1.059 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.3177, allocations: 1.167 MB / 1.06 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.3179, allocations: 72 kB / 1.06 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.3206, allocations: 0.9589 MB / 1.061 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.321, allocations: 390.5 kB / 1.061 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.3216, allocations: 384.8 kB / 1.062 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.3244, allocations: 2.307 MB / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3244, allocations: 0 / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3244, allocations: 0 / 1.064 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.3244, allocations: 0 / 1.064 GB, free: 4.699 MB / 0.6823 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.003753/0.3282, allocations: 2.026 MB / 1.066 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3283, allocations: 8.031 kB / 1.066 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.3285, allocations: 172.8 kB / 1.066 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3297, allocations: 354.3 kB / 1.066 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.3319, allocations: 1.428 MB / 1.068 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3321, allocations: 153.5 kB / 1.068 GB, free: 452 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.3322, allocations: 107.9 kB / 1.068 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4604/0.7927, allocations: 1.475 MB / 1.069 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.7928, allocations: 3.25 kB / 1.069 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.7929, allocations: 48.53 kB / 1.069 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.793, allocations: 36.08 kB / 1.069 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.7964, allocations: 1.428 MB / 1.071 GB, free: 89.56 MB / 0.6823 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.008877/0.8053, allocations: 6.655 MB / 1.077 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.808, allocations: 1.214 MB / 1.079 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.8096, allocations: 0.6008 MB / 1.079 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/0.8105, allocations: 1.15 MB / 1.08 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.8105, allocations: 46.53 kB / 1.08 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 4.288e-06/0.8105, allocations: 0 / 1.08 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.005182/0.8157, allocations: 1.733 MB / 1.082 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.8158, allocations: 116 kB / 1.082 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.8184, allocations: 1.369 MB / 1.083 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.8185, allocations: 45.86 kB / 1.083 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.8191, allocations: 0.7113 MB / 1.084 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.8194, allocations: 268.9 kB / 1.084 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.8195, allocations: 15.62 kB / 1.084 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8196, allocations: 342.4 kB / 1.085 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.821, allocations: 0.5331 MB / 1.085 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.8227, allocations: 0.7626 MB / 1.086 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.8255, allocations: 1.22 MB / 1.087 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.8255, allocations: 5.047 kB / 1.087 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003584/0.8291, allocations: 1.436 MB / 1.089 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.8293, allocations: 233 kB / 1.089 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.8293, allocations: 4.406 kB / 1.089 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.8293, allocations: 15.03 kB / 1.089 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.8306, allocations: 297.7 kB / 1.089 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.8306, allocations: 13.55 kB / 1.089 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.8323, allocations: 219 kB / 1.089 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.8324, allocations: 39.56 kB / 1.089 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.8325, allocations: 3.25 kB / 1.089 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002965/0.8354, allocations: 1.281 MB / 1.091 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.8354, allocations: 5.281 kB / 1.091 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8355, allocations: 8.844 kB / 1.091 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.8367, allocations: 297.5 kB / 1.091 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.8367, allocations: 13.98 kB / 1.091 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8381, allocations: 209.5 kB / 1.091 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.8382, allocations: 42.98 kB / 1.091 GB, free: 77.68 MB / 0.6823 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.000838/0.8391, allocations: 468.4 kB / 1.092 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.8393, allocations: 150.8 kB / 1.092 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.8429, allocations: 1.574 MB / 1.093 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.8429, allocations: 12.69 kB / 1.093 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8429, allocations: 0 / 1.093 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002716/0.8456, allocations: 1.204 MB / 1.095 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.852, allocations: 3.164 MB / 1.098 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8521, allocations: 4.594 kB / 1.098 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.8532, allocations: 221.4 kB / 1.098 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.8533, allocations: 7.938 kB / 1.098 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.8533, allocations: 23.33 kB / 1.098 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.8534, allocations: 13.14 kB / 1.098 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8534, allocations: 3.969 kB / 1.098 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.8587, allocations: 2.205 MB / 1.1 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.8599, allocations: 391.4 kB / 1.1 GB, free: 73.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.8603, allocations: 21.92 kB / 1.1 GB, free: 73.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.8616, allocations: 165.6 kB / 1.101 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.8618, allocations: 84.91 kB / 1.101 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.862, allocations: 42.77 kB / 1.101 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001739/0.8637, allocations: 0.9758 MB / 1.102 GB, free: 72.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8637, allocations: 0 / 1.102 GB, free: 72.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002486/0.8662, allocations: 0.8065 MB / 1.102 GB, free: 72.76 MB / 0.6823 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.005539/0.8718, allocations: 3.074 MB / 1.105 GB, free: 71.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004567/0.8764, allocations: 1.947 MB / 1.107 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.8764, allocations: 5.062 kB / 1.107 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.878, allocations: 0.6851 MB / 1.108 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.8822, allocations: 0.7236 MB / 1.109 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.9007, allocations: 9.904 MB / 1.118 GB, free: 63.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.9015, allocations: 1.274 MB / 1.12 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001892/0.9034, allocations: 392.1 kB / 1.12 GB, free: 62.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/0.9042, allocations: 0.6265 MB / 1.121 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/0.9042, allocations: 0 / 1.121 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2658/1.17, allocations: 44.64 MB / 1.164 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/1.17, allocations: 239.3 kB / 1.164 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/4.443, allocations: 0 / 1.164 GB, free: 19.37 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)