Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 172.7 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 90.47 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.839, allocations: 428.4 MB / 1.304 GB, free: 316.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.839, allocations: 85.58 kB / 1.304 GB, free: 316.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.496/3.335, allocations: 0.4997 GB / 1.803 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/3.335, allocations: 4 kB / 1.803 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001266/3.335, allocations: 48.22 kB / 1.803 GB, free: 140.5 MB / 0.8698 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.003626/3.338, allocations: 1.897 MB / 1.805 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/3.339, allocations: 10.66 kB / 1.805 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/3.34, allocations: 317.2 kB / 1.806 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/3.342, allocations: 1.623 MB / 1.807 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/3.342, allocations: 121.1 kB / 1.807 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/3.343, allocations: 64 kB / 1.807 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001498/3.344, allocations: 0.9954 MB / 1.808 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/3.346, allocations: 1.105 MB / 1.809 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/3.346, allocations: 3.938 kB / 1.809 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/3.346, allocations: 4 kB / 1.809 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/3.346, allocations: 32.7 kB / 1.81 GB, free: 134.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006917/3.353, allocations: 6.7 MB / 1.816 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/3.354, allocations: 0.5961 MB / 1.817 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/3.354, allocations: 370.5 kB / 1.817 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/3.355, allocations: 0.8349 MB / 1.818 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/3.355, allocations: 43.06 kB / 1.818 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 2.785e-06/3.355, allocations: 0 / 1.818 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.001417/3.356, allocations: 0.8059 MB / 1.819 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/3.356, allocations: 111.4 kB / 1.819 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/3.357, allocations: 1.137 MB / 1.82 GB, free: 123 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/3.357, allocations: 31.78 kB / 1.82 GB, free: 123 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/3.358, allocations: 0.7579 MB / 1.821 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/3.358, allocations: 220.8 kB / 1.821 GB, free: 122 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/3.358, allocations: 0 / 1.821 GB, free: 122 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/3.358, allocations: 337.9 kB / 1.821 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/3.358, allocations: 350.5 kB / 1.821 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/3.359, allocations: 0.6034 MB / 1.822 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/3.36, allocations: 418.5 kB / 1.822 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/3.36, allocations: 0 / 1.822 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001491/3.361, allocations: 1.026 MB / 1.823 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003161/3.362, allocations: 1.877 MB / 1.825 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/3.362, allocations: 8 kB / 1.825 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/3.362, allocations: 8 kB / 1.825 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/3.363, allocations: 271.6 kB / 1.826 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/3.363, allocations: 8 kB / 1.826 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/3.364, allocations: 199 kB / 1.826 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/3.364, allocations: 43.92 kB / 1.826 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/3.364, allocations: 4 kB / 1.826 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/3.365, allocations: 0.8496 MB / 1.827 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/3.365, allocations: 6.25 kB / 1.827 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/3.365, allocations: 8.625 kB / 1.827 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/3.367, allocations: 275.6 kB / 1.827 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/3.367, allocations: 8 kB / 1.827 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/3.368, allocations: 175.1 kB / 1.827 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/3.368, allocations: 43.94 kB / 1.827 GB, free: 115.3 MB / 0.8698 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 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.000204/3.368, allocations: 120.4 kB / 1.827 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001183/3.369, allocations: 0.8059 MB / 1.828 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/3.369, allocations: 146.2 kB / 1.828 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/3.371, allocations: 0.954 MB / 1.829 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/3.371, allocations: 12 kB / 1.829 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/3.371, allocations: 3.953 kB / 1.829 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/3.372, allocations: 0.8179 MB / 1.83 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/3.375, allocations: 2.432 MB / 1.832 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/3.375, allocations: 0 / 1.832 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/3.376, allocations: 204 kB / 1.833 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/3.376, allocations: 4 kB / 1.833 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/3.376, allocations: 8 kB / 1.833 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/3.376, allocations: 10.8 kB / 1.833 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/3.376, allocations: 11.94 kB / 1.833 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/3.378, allocations: 1.694 MB / 1.834 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/3.379, allocations: 378.9 kB / 1.835 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/3.379, allocations: 7.984 kB / 1.835 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/3.38, allocations: 119.9 kB / 1.835 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/3.38, allocations: 64.47 kB / 1.835 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/3.38, allocations: 35.97 kB / 1.835 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009342/3.381, allocations: 0.86 MB / 1.836 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/3.381, allocations: 0 / 1.836 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002005/3.383, allocations: 0.8494 MB / 1.836 GB, free: 105.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * 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.003346/3.386, allocations: 3.618 MB / 1.84 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001855/3.388, allocations: 1.374 MB / 1.841 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/3.388, allocations: 0 / 1.841 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/3.389, allocations: 465.8 kB / 1.842 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/3.391, allocations: 0.5758 MB / 1.842 GB, free: 99.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/3.395, allocations: 2.333 MB / 1.845 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/3.396, allocations: 1.306 MB / 1.846 GB, free: 95.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001785/3.397, allocations: 0.4905 MB / 1.846 GB, free: 95.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006494/3.398, allocations: 0.5751 MB / 1.847 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of SimCode: time 8.91e-07/3.398, allocations: 0 / 1.847 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/3.465, allocations: 41.27 MB / 1.887 GB, free: 53.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/3.466, allocations: 182.4 kB / 1.887 GB, free: 53.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/6.854, allocations: 2.5 kB / 1.887 GB, free: 53.54 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)