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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 192 kB / 16.53 MB, free: 6.391 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.49/1.49, allocations: 205.1 MB / 222.4 MB, free: 4.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.674/1.674, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001387/0.001387, allocations: 64.62 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2383, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004239/0.2426, allocations: 2.367 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.2451, allocations: 1.431 MB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.2453, allocations: 4 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.246, allocations: 202.9 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.2462, allocations: 79.27 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2466, allocations: 119.7 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.247, allocations: 330.8 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2472, allocations: 44.7 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2474, allocations: 127.5 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.2477, allocations: 199.2 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.2478, allocations: 32 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2479, allocations: 67.97 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2481, allocations: 119.7 kB / 0.7883 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2483, allocations: 175 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.2488, allocations: 482.8 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2488, allocations: 4 kB / 0.789 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2488, allocations: 0 / 0.789 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2488, allocations: 0 / 0.789 GB, free: 7.711 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.001436/0.2503, allocations: 0.7121 MB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2503, allocations: 8.031 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000881/0.2512, allocations: 140.4 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.2517, allocations: 354.2 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2518, allocations: 92.11 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.2519, allocations: 12.38 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2526, allocations: 291.4 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2527, allocations: 3.938 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2527, allocations: 7.984 kB / 0.7905 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.2527, allocations: 4 kB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2538, allocations: 413.6 kB / 0.7909 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2554, allocations: 0.8784 MB / 0.7918 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.2561, allocations: 266.4 kB / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.2566, allocations: 216.7 kB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.2566, allocations: 7.984 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2567, allocations: 34.56 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/0.2567, allocations: 0 / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001768/0.2584, allocations: 0.652 MB / 0.7929 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2585, allocations: 63.28 kB / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.259, allocations: 429.6 kB / 0.7934 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.259, allocations: 25.7 kB / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2592, allocations: 172.1 kB / 0.7936 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.2593, allocations: 67.08 kB / 0.7936 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2594, allocations: 41.7 kB / 0.7937 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2595, allocations: 346.8 kB / 0.794 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.2601, allocations: 195.8 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.2606, allocations: 231.2 kB / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009844/0.2616, allocations: 371.6 kB / 0.7948 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2617, allocations: 0 / 0.7948 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00116/0.2628, allocations: 464.9 kB / 0.7952 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2629, allocations: 4 kB / 0.7952 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2629, allocations: 3.984 kB / 0.7952 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2629, allocations: 0 / 0.7952 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.2634, allocations: 59.92 kB / 0.7953 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2634, allocations: 7.938 kB / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.2637, allocations: 51.77 kB / 0.7953 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2637, allocations: 4 kB / 0.7954 GB, free: 0.9297 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.264, allocations: 169.8 kB / 0.7955 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.264, allocations: 35.53 kB / 0.7955 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.2641, allocations: 39.59 kB / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2641, allocations: 0 / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2641, allocations: 11.94 kB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2641, allocations: 3.984 kB / 0.7956 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.2646, allocations: 474.8 kB / 0.7961 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2646, allocations: 0 / 0.7961 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.2651, allocations: 63.86 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2651, allocations: 0 / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.2651, allocations: 7.984 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2651, allocations: 0 / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2651, allocations: 7.938 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.2663, allocations: 0.5484 MB / 0.7967 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.2664, allocations: 120.7 kB / 0.7968 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.2665, allocations: 4 kB / 0.7968 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.2668, allocations: 31.95 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.267, allocations: 31.91 kB / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.267, allocations: 11.98 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003055/0.2673, allocations: 303.1 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2673, allocations: 0 / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003203/0.2676, allocations: 60 kB / 0.7972 GB, free: 14.94 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.0001689/0.2678, allocations: 115.2 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.269, allocations: 447.5 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.269, allocations: 4 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.2696, allocations: 223.8 kB / 0.798 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.27, allocations: 55.91 kB / 0.798 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2713, allocations: 0.6761 MB / 0.7987 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.2717, allocations: 0.7909 MB / 0.7994 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000247/0.272, allocations: 58.25 kB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.2721, allocations: 27.42 kB / 0.7995 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2721, allocations: 4 kB / 0.7995 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.007652/0.2798, allocations: 4.251 MB / 0.8037 GB, free: 8.297 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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)