Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.000994, allocations: 99.86 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.0009359/0.000936, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.579/1.579, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005037/0.0005037, allocations: 21.94 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00264/0.2545, allocations: 1.938 MB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2565, allocations: 1.288 MB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2567, allocations: 4 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.2572, allocations: 187.2 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2574, allocations: 79.77 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2577, allocations: 87.77 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.258, allocations: 207.6 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2581, allocations: 44.7 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.2583, allocations: 115.6 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2586, allocations: 171.4 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.2586, allocations: 20 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2588, allocations: 55.95 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2589, allocations: 107.7 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.259, allocations: 81.52 kB / 0.7914 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2593, allocations: 375.3 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.2594, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2594, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.2594, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00117/0.2605, allocations: 0.6692 MB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2606, allocations: 12.03 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/0.2615, allocations: 179.3 kB / 0.7926 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.262, allocations: 337.2 kB / 0.7929 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.2621, allocations: 79.62 kB / 0.793 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2621, allocations: 12 kB / 0.793 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.2629, allocations: 323.3 kB / 0.7933 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2629, allocations: 0 / 0.7933 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2629, allocations: 4 kB / 0.7933 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2629, allocations: 4 kB / 0.7933 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.264, allocations: 456.4 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2657, allocations: 0.8824 MB / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.2664, allocations: 290.4 kB / 0.7949 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2664, allocations: 7.984 kB / 0.7949 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2664, allocations: 34.5 kB / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.2664, allocations: 0 / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001809/0.2683, allocations: 0.7147 MB / 0.7956 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2683, allocations: 59.39 kB / 0.7957 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.2687, allocations: 413.7 kB / 0.7961 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.2688, allocations: 29.7 kB / 0.7961 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.2689, allocations: 195.9 kB / 0.7963 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.269, allocations: 51.2 kB / 0.7963 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.269, allocations: 4 kB / 0.7963 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2692, allocations: 350.8 kB / 0.7967 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.2697, allocations: 227.7 kB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.2703, allocations: 251.2 kB / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.2708, allocations: 203.9 kB / 0.7973 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2709, allocations: 0 / 0.7973 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001145/0.272, allocations: 0.4922 MB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.272, allocations: 4 kB / 0.7978 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2721, allocations: 4 kB / 0.7978 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2721, allocations: 4 kB / 0.7978 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.2726, allocations: 71.88 kB / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2726, allocations: 3.984 kB / 0.7979 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.2729, allocations: 47.86 kB / 0.7979 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.273, allocations: 8 kB / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001867/0.2732, allocations: 165.8 kB / 0.7981 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.2732, allocations: 35.53 kB / 0.7981 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.2733, allocations: 43.58 kB / 0.7982 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2733, allocations: 8 kB / 0.7982 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2733, allocations: 0 / 0.7982 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2733, allocations: 0 / 0.7982 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.2739, allocations: 482.7 kB / 0.7986 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2739, allocations: 0 / 0.7986 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.2743, allocations: 75.86 kB / 0.7987 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2744, allocations: 8 kB / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2744, allocations: 3.984 kB / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2744, allocations: 0 / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2744, allocations: 0 / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2757, allocations: 0.6002 MB / 0.7993 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2758, allocations: 116.7 kB / 0.7994 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.2759, allocations: 4 kB / 0.7994 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.2762, allocations: 43.95 kB / 0.7995 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.2763, allocations: 27.95 kB / 0.7995 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.2764, allocations: 7.984 kB / 0.7995 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003344/0.2767, allocations: 303.1 kB / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2767, allocations: 0 / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003345/0.277, allocations: 67.91 kB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001495/0.2772, allocations: 107.2 kB / 0.7999 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.2784, allocations: 478.6 kB / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2784, allocations: 0 / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.279, allocations: 247.8 kB / 0.8006 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2793, allocations: 49.44 kB / 0.8007 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2807, allocations: 0.7601 MB / 0.8014 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.2811, allocations: 0.8028 MB / 0.8022 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.2814, allocations: 66.3 kB / 0.8023 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2815, allocations: 19.44 kB / 0.8023 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2815, allocations: 0 / 0.8023 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.007418/0.289, allocations: 3.862 MB / 0.8061 GB, free: 8.16 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: