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.00119/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001164/0.001164, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.496/1.496, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.694/1.694, allocations: 292.3 MB / 0.5485 GB, free: 13.6 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.001318/0.001318, allocations: 63.22 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2195, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004106/0.2236, allocations: 2.434 MB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2258, allocations: 1.415 MB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.226, allocations: 4 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.2267, allocations: 199 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.2269, allocations: 59.48 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2273, allocations: 107.8 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.2277, allocations: 326.8 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2278, allocations: 44.73 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2281, allocations: 131.5 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.2284, allocations: 195.2 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.2285, allocations: 32 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2287, allocations: 63.97 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2288, allocations: 123.7 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.229, allocations: 187 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.2295, allocations: 482.8 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2296, allocations: 0 / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2296, allocations: 4 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.2296, allocations: 0 / 0.7885 GB, free: 8.078 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.00153/0.2311, allocations: 0.7043 MB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2312, allocations: 11.97 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.2321, allocations: 140.4 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.2326, allocations: 358.2 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2327, allocations: 84.19 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2328, allocations: 12.38 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.2335, allocations: 307.4 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2336, allocations: 3.938 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2336, allocations: 4 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2336, allocations: 4 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2347, allocations: 412.4 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2364, allocations: 0.8745 MB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.2371, allocations: 262.4 kB / 0.7915 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.2377, allocations: 216.7 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.2377, allocations: 8 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.2377, allocations: 34.5 kB / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.2378, allocations: 3.938 kB / 0.7918 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001714/0.2395, allocations: 0.6562 MB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2395, allocations: 55.34 kB / 0.7925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.24, allocations: 425.6 kB / 0.7929 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.24, allocations: 29.7 kB / 0.7929 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2402, allocations: 176.1 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.2403, allocations: 63.11 kB / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2404, allocations: 37.7 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2406, allocations: 346.8 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.2411, allocations: 195.8 kB / 0.7937 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.2416, allocations: 235.2 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.2426, allocations: 368.6 kB / 0.7943 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2426, allocations: 0 / 0.7943 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.2437, allocations: 459.1 kB / 0.7947 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2438, allocations: 12 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2438, allocations: 0 / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2438, allocations: 0 / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.2442, allocations: 63.92 kB / 0.7948 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2443, allocations: 3.938 kB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2446, allocations: 43.8 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.2446, allocations: 7.984 kB / 0.7948 GB, free: 1.305 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.0002083/0.2449, allocations: 165.8 kB / 0.795 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.2449, allocations: 35.53 kB / 0.795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.144e-05/0.245, allocations: 43.58 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.245, allocations: 0 / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2451, allocations: 3.938 kB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2451, allocations: 4 kB / 0.7951 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.2456, allocations: 486.8 kB / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2456, allocations: 0 / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.246, allocations: 59.88 kB / 0.7956 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2461, allocations: 11.98 kB / 0.7956 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.2461, allocations: 4 kB / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2461, allocations: 0 / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2461, allocations: 3.938 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2473, allocations: 0.5521 MB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.2474, allocations: 116.7 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.2475, allocations: 4 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.2478, allocations: 31.95 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2479, allocations: 39.92 kB / 0.7963 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.248, allocations: 4 kB / 0.7964 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003146/0.2483, allocations: 311.1 kB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2483, allocations: 0 / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003304/0.2486, allocations: 63.94 kB / 0.7967 GB, free: 15.3 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.0001371/0.2488, allocations: 107.2 kB / 0.7968 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2499, allocations: 447.5 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2499, allocations: 0 / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.2505, allocations: 223.8 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2509, allocations: 49.53 kB / 0.7975 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2523, allocations: 0.7513 MB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2527, allocations: 0.7987 MB / 0.799 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.253, allocations: 62.27 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2531, allocations: 23.42 kB / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2531, allocations: 0 / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.008074/0.2612, allocations: 4.241 MB / 0.8032 GB, free: 8.617 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)