Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009057, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00643/0.00643, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005151, allocations: 11.56 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2527, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05834/0.3111, allocations: 61.1 MB / 0.8475 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.3316, allocations: 13.47 MB / 0.8607 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.3344, allocations: 55.62 kB / 0.8607 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.3374, allocations: 0.8044 MB / 0.8615 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007058/0.3444, allocations: 2.188 MB / 0.8637 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.3493, allocations: 1.476 MB / 0.8651 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008705/0.358, allocations: 5.445 MB / 0.8704 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.3607, allocations: 1.165 MB / 0.8716 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.3645, allocations: 1.373 MB / 0.8729 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.3673, allocations: 1.237 MB / 0.8741 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006561/0.3679, allocations: 72 kB / 0.8742 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.3718, allocations: 1.294 MB / 0.8754 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009614/0.3728, allocations: 414.3 kB / 0.8758 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.3749, allocations: 0.8994 MB / 0.8767 GB, free: 284 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.3809, allocations: 3.006 MB / 0.8797 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.381, allocations: 0 / 0.8797 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.525e-06/0.381, allocations: 8 kB / 0.8797 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001031/0.3811, allocations: 0 / 0.8797 GB, free: 13.25 MB / 0.7012 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.006599/0.3877, allocations: 2.026 MB / 0.8816 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 8.357e-05/0.3878, allocations: 12.02 kB / 0.8817 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.3896, allocations: 350.3 kB / 0.882 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.3934, allocations: 1.432 MB / 0.8834 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.3936, allocations: 153.5 kB / 0.8835 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.3939, allocations: 111.9 kB / 0.8836 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.3974, allocations: 1.492 MB / 0.8851 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3974, allocations: 0 / 0.8851 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.3976, allocations: 44 kB / 0.8851 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.3976, allocations: 32 kB / 0.8852 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.4013, allocations: 1.444 MB / 0.8866 GB, free: 5.961 MB / 0.7012 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.01254/0.4138, allocations: 6.647 MB / 0.8931 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.4166, allocations: 1.217 MB / 0.8943 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4182, allocations: 0.6078 MB / 0.8949 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009547/0.4191, allocations: 1.149 MB / 0.896 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.4192, allocations: 43.22 kB / 0.896 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 2.865e-06/0.4192, allocations: 4 kB / 0.896 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004713/0.424, allocations: 1.738 MB / 0.8977 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.4241, allocations: 111.5 kB / 0.8978 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.4266, allocations: 1.389 MB / 0.8992 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.4268, allocations: 49.62 kB / 0.8992 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/0.4275, allocations: 0.7046 MB / 0.8999 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.4279, allocations: 264.1 kB / 0.9002 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.428, allocations: 81.67 kB / 0.9002 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4282, allocations: 341.9 kB / 0.9006 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.4296, allocations: 0.5368 MB / 0.9011 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4312, allocations: 0.7776 MB / 0.9019 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.4341, allocations: 1.23 MB / 0.9031 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4341, allocations: 0 / 0.9031 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003813/0.4379, allocations: 1.449 MB / 0.9045 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.4382, allocations: 228.4 kB / 0.9047 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.4382, allocations: 12 kB / 0.9047 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/0.4382, allocations: 11.94 kB / 0.9047 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4395, allocations: 295.6 kB / 0.905 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/0.4396, allocations: 23.91 kB / 0.905 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4412, allocations: 214.9 kB / 0.9052 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4413, allocations: 39.98 kB / 0.9053 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4414, allocations: 6.969 kB / 0.9053 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003197/0.4446, allocations: 1.292 MB / 0.9065 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4446, allocations: 4 kB / 0.9065 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4446, allocations: 8 kB / 0.9065 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4458, allocations: 291.9 kB / 0.9068 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.4459, allocations: 19.98 kB / 0.9068 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.4476, allocations: 207 kB / 0.907 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4477, allocations: 35.98 kB / 0.9071 GB, free: 15.88 MB / 0.7325 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 (intGreThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009453/0.4487, allocations: 465.4 kB / 0.9075 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.4492, allocations: 146.2 kB / 0.9076 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.453, allocations: 1.591 MB / 0.9092 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.453, allocations: 8 kB / 0.9092 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.453, allocations: 0 / 0.9092 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002827/0.4559, allocations: 1.214 MB / 0.9104 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007331/0.4632, allocations: 3.18 MB / 0.9135 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.4633, allocations: 8 kB / 0.9135 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4643, allocations: 212.3 kB / 0.9137 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/0.4644, allocations: 8 kB / 0.9137 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.4645, allocations: 23.98 kB / 0.9137 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.4645, allocations: 15.94 kB / 0.9138 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.4645, allocations: 8 kB / 0.9138 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005122/0.4696, allocations: 2.22 MB / 0.9159 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.4708, allocations: 406.7 kB / 0.9163 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/0.4714, allocations: 24 kB / 0.9163 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.473, allocations: 163.7 kB / 0.9165 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.4732, allocations: 88.33 kB / 0.9166 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.4734, allocations: 39.97 kB / 0.9166 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002232/0.4756, allocations: 1.056 MB / 0.9177 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4756, allocations: 4 kB / 0.9177 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002968/0.4786, allocations: 0.7916 MB / 0.9184 GB, free: 3.953 MB / 0.7325 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 (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.001199/0.4798, allocations: 464.5 kB / 0.9189 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004987/0.4848, allocations: 1.962 MB / 0.9208 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.4849, allocations: 0 / 0.9208 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.4866, allocations: 0.6835 MB / 0.9215 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/0.4924, allocations: 0.831 MB / 0.9223 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.378/0.8705, allocations: 3.366 MB / 0.9256 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000997/0.8715, allocations: 1.277 MB / 0.9268 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002192/0.8737, allocations: 413.5 kB / 0.9272 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.8742, allocations: 129.1 kB / 0.9273 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/0.8743, allocations: 0 / 0.9273 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06098/0.9352, allocations: 33.27 MB / 0.9598 GB, free: 118 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: