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.001008/0.001008, allocations: 91.3 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.008515/0.008515, allocations: 172.8 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.469/1.469, 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.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.000528/0.0005281, allocations: 17.75 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002805/0.2184, allocations: 2.066 MB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2204, allocations: 1.408 MB / 0.7913 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2205, allocations: 4 kB / 0.7913 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.2211, allocations: 191 kB / 0.7915 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2212, allocations: 71.47 kB / 0.7915 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2215, allocations: 95.84 kB / 0.7916 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.2218, allocations: 318.8 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2219, allocations: 44.72 kB / 0.792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2221, allocations: 123.5 kB / 0.7921 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2223, allocations: 175.3 kB / 0.7922 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2224, allocations: 20 kB / 0.7923 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2225, allocations: 51.97 kB / 0.7923 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2226, allocations: 111.7 kB / 0.7924 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2228, allocations: 188.8 kB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.2232, allocations: 462.7 kB / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2232, allocations: 0 / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2232, allocations: 0 / 0.793 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2233, allocations: 0 / 0.793 GB, free: 6.281 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.001117/0.2244, allocations: 0.6694 MB / 0.7937 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2244, allocations: 8.031 kB / 0.7937 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.2253, allocations: 180.3 kB / 0.7939 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.2257, allocations: 346.3 kB / 0.7942 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2258, allocations: 88.17 kB / 0.7943 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.2259, allocations: 12.38 kB / 0.7943 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/0.2266, allocations: 323.4 kB / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2266, allocations: 0 / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.2267, allocations: 0 / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2267, allocations: 4 kB / 0.7946 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2278, allocations: 468.3 kB / 0.7951 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2294, allocations: 0.8863 MB / 0.7959 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.2301, allocations: 302.3 kB / 0.7962 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.2307, allocations: 236.7 kB / 0.7964 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2308, allocations: 4 kB / 0.7964 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2308, allocations: 34.5 kB / 0.7965 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.2308, allocations: 0 / 0.7965 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001911/0.2327, allocations: 0.7265 MB / 0.7972 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2328, allocations: 55.34 kB / 0.7972 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.2332, allocations: 417.7 kB / 0.7976 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.2332, allocations: 41.69 kB / 0.7977 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2334, allocations: 176 kB / 0.7978 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.2335, allocations: 55.2 kB / 0.7979 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.2335, allocations: 21.7 kB / 0.7979 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2336, allocations: 346.8 kB / 0.7983 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.2342, allocations: 215.9 kB / 0.7985 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.2348, allocations: 251.2 kB / 0.7987 GB, free: 256 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2359, allocations: 411.4 kB / 0.7991 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2359, allocations: 0 / 0.7991 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001242/0.2371, allocations: 0.5009 MB / 0.7996 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2371, allocations: 4 kB / 0.7996 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2372, allocations: 4 kB / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2372, allocations: 4 kB / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.2377, allocations: 67.92 kB / 0.7997 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2377, allocations: 3.938 kB / 0.7997 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.2381, allocations: 59.78 kB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2381, allocations: 4 kB / 0.7997 GB, free: 15.2 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.2383, allocations: 170.4 kB / 0.7999 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.2384, allocations: 35.53 kB / 0.7999 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.2385, allocations: 39.59 kB / 0.8 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2385, allocations: 8 kB / 0.8 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.2385, allocations: 7.938 kB / 0.8 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2385, allocations: 3.984 kB / 0.8 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.2391, allocations: 478.8 kB / 0.8004 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2391, allocations: 0 / 0.8004 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.2395, allocations: 71.92 kB / 0.8005 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.2396, allocations: 8 kB / 0.8005 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2396, allocations: 3.938 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2396, allocations: 0 / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2396, allocations: 7.922 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.2409, allocations: 0.6003 MB / 0.8011 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.241, allocations: 112.7 kB / 0.8012 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.2411, allocations: 4 kB / 0.8012 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.2414, allocations: 43.95 kB / 0.8013 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2415, allocations: 27.91 kB / 0.8013 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.2416, allocations: 11.98 kB / 0.8013 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003129/0.2419, allocations: 303.1 kB / 0.8016 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2419, allocations: 3.938 kB / 0.8016 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003154/0.2422, allocations: 63.91 kB / 0.8016 GB, free: 13.12 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 (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.0001491/0.2424, allocations: 118.1 kB / 0.8018 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.2436, allocations: 470.7 kB / 0.8022 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2436, allocations: 0 / 0.8022 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.2442, allocations: 259.7 kB / 0.8025 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.2447, allocations: 43.98 kB / 0.8025 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2461, allocations: 0.7874 MB / 0.8033 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2465, allocations: 0.795 MB / 0.804 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002733/0.2468, allocations: 62.27 kB / 0.8041 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2469, allocations: 27.42 kB / 0.8041 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/0.2469, allocations: 0 / 0.8041 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.007436/0.2544, allocations: 3.979 MB / 0.808 GB, free: 6.602 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: