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 2.811/2.811, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001548/0.001547, allocations: 182.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001035/0.001034, allocations: 94.28 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.000538, allocations: 13.12 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.08718/0.3255, allocations: 57.75 MB / 1.035 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.353, allocations: 13.01 MB / 1.048 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.3558, allocations: 51.69 kB / 1.048 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.3601, allocations: 0.7923 MB / 1.048 GB, free: 4.508 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.008818/0.369, allocations: 1.847 MB / 1.05 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.3753, allocations: 1.21 MB / 1.051 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.3869, allocations: 4.676 MB / 1.056 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.3911, allocations: 1.058 MB / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/0.3966, allocations: 1.33 MB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.4007, allocations: 1.171 MB / 1.059 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009764/0.4017, allocations: 75.94 kB / 1.059 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.4078, allocations: 0.9589 MB / 1.06 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.4092, allocations: 386.5 kB / 1.061 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.4106, allocations: 380.8 kB / 1.061 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006992/0.4177, allocations: 2.314 MB / 1.063 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4178, allocations: 0 / 1.063 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4178, allocations: 0 / 1.063 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.885e-05/0.4179, allocations: 0 / 1.063 GB, free: 5.062 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.009203/0.4271, allocations: 2.041 MB / 1.065 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.4272, allocations: 8.031 kB / 1.065 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007677/0.428, allocations: 168.6 kB / 1.066 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/0.4316, allocations: 349.4 kB / 1.066 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.4374, allocations: 1.377 MB / 1.067 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/0.4378, allocations: 149.5 kB / 1.067 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/0.4383, allocations: 112 kB / 1.067 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7763/1.215, allocations: 1.477 MB / 1.069 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/1.215, allocations: 4.719 kB / 1.069 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/1.215, allocations: 45.06 kB / 1.069 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.65e-05/1.215, allocations: 35.41 kB / 1.069 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006611/1.222, allocations: 1.429 MB / 1.07 GB, free: 89.75 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.01422/1.236, allocations: 6.653 MB / 1.077 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/1.24, allocations: 1.213 MB / 1.078 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/1.243, allocations: 0.6028 MB / 1.079 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/1.244, allocations: 1.146 MB / 1.08 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/1.244, allocations: 49.69 kB / 1.08 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.327e-06/1.244, allocations: 2.297 kB / 1.08 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77): time 0.008458/1.252, allocations: 1.731 MB / 1.082 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.253, allocations: 122.4 kB / 1.082 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.256, allocations: 1.367 MB / 1.083 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/1.257, allocations: 43.55 kB / 1.083 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/1.257, allocations: 0.7093 MB / 1.084 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.258, allocations: 266.5 kB / 1.084 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/1.258, allocations: 19.91 kB / 1.084 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.258, allocations: 338.6 kB / 1.084 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/1.261, allocations: 0.5325 MB / 1.085 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/1.264, allocations: 0.7633 MB / 1.086 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/1.266, allocations: 0.582 MB / 1.086 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.266, allocations: 1.438 kB / 1.086 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006353/1.273, allocations: 1.439 MB / 1.088 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.273, allocations: 234.1 kB / 1.088 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.273, allocations: 8.109 kB / 1.088 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/1.273, allocations: 9.5 kB / 1.088 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.276, allocations: 294.2 kB / 1.088 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.388e-05/1.276, allocations: 14.16 kB / 1.088 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/1.278, allocations: 222.9 kB / 1.088 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.279, allocations: 39.58 kB / 1.088 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.279, allocations: 4.125 kB / 1.088 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005734/1.284, allocations: 1.281 MB / 1.09 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.284, allocations: 4.469 kB / 1.09 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.284, allocations: 14.89 kB / 1.09 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.287, allocations: 291.9 kB / 1.09 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/1.287, allocations: 10.78 kB / 1.09 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.29, allocations: 209.1 kB / 1.09 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/1.29, allocations: 42.73 kB / 1.09 GB, free: 78.17 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.001241/1.291, allocations: 472.3 kB / 1.091 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/1.292, allocations: 151 kB / 1.091 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006373/1.298, allocations: 1.57 MB / 1.092 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.298, allocations: 11.73 kB / 1.092 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.298, allocations: 1.094 kB / 1.092 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005068/1.303, allocations: 1.204 MB / 1.093 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.314, allocations: 3.151 MB / 1.097 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.314, allocations: 4.922 kB / 1.097 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.316, allocations: 222.1 kB / 1.097 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/1.316, allocations: 8.156 kB / 1.097 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.317, allocations: 24.53 kB / 1.097 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/1.317, allocations: 8.719 kB / 1.097 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.317, allocations: 13.19 kB / 1.097 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/1.325, allocations: 2.201 MB / 1.099 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.326, allocations: 400.5 kB / 1.099 GB, free: 73.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000549/1.327, allocations: 17.14 kB / 1.099 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/1.329, allocations: 163 kB / 1.1 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.33, allocations: 84.06 kB / 1.1 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.33, allocations: 46.31 kB / 1.1 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002363/1.332, allocations: 0.9728 MB / 1.101 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/1.333, allocations: 4 kB / 1.101 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00403/1.337, allocations: 0.8052 MB / 1.101 GB, free: 73.25 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.01021/1.347, allocations: 3.073 MB / 1.104 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008357/1.355, allocations: 1.944 MB / 1.106 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.355, allocations: 2.406 kB / 1.106 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003131/1.358, allocations: 0.693 MB / 1.107 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.365, allocations: 0.6871 MB / 1.108 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/1.4, allocations: 9.908 MB / 1.117 GB, free: 64.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.401, allocations: 1.282 MB / 1.119 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003291/1.404, allocations: 389.4 kB / 1.119 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.406, allocations: 0.6114 MB / 1.12 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/1.406, allocations: 0 / 1.12 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/1.548, allocations: 41.86 MB / 1.16 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/1.549, allocations: 233.9 kB / 1.161 GB, free: 23.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/5.864, allocations: 7.875 kB / 1.161 GB, free: 23.29 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)