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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 192.1 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009966/0.0009968, allocations: 101.9 kB / 0.748 GB, free: 61.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 47.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2422, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004003/0.2463, allocations: 2.427 MB / 0.9846 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.2485, allocations: 1.427 MB / 0.986 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.2487, allocations: 4 kB / 0.986 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.2494, allocations: 195 kB / 0.9862 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.2497, allocations: 63.53 kB / 0.9862 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.25, allocations: 95.84 kB / 0.9863 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.2504, allocations: 322.8 kB / 0.9866 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2505, allocations: 52.67 kB / 0.9867 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.2508, allocations: 127.5 kB / 0.9868 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.2511, allocations: 179.3 kB / 0.987 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.2511, allocations: 20 kB / 0.987 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2513, allocations: 63.97 kB / 0.9871 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2515, allocations: 111.6 kB / 0.9872 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2516, allocations: 171 kB / 0.9873 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.2521, allocations: 474.8 kB / 0.9878 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2521, allocations: 0 / 0.9878 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.083e-06/0.2521, allocations: 0 / 0.9878 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.2521, allocations: 0 / 0.9878 GB, free: 4.652 MB / 0.7136 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.001469/0.2536, allocations: 0.712 MB / 0.9885 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2537, allocations: 12.03 kB / 0.9885 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.2545, allocations: 144.3 kB / 0.9886 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.255, allocations: 346.3 kB / 0.989 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.2551, allocations: 84.19 kB / 0.989 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.2552, allocations: 12.38 kB / 0.989 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.2559, allocations: 303.4 kB / 0.9893 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.256, allocations: 0 / 0.9893 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.256, allocations: 8 kB / 0.9893 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.256, allocations: 0 / 0.9893 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2571, allocations: 420.3 kB / 0.9897 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2587, allocations: 0.855 MB / 0.9906 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.2594, allocations: 274.3 kB / 0.9908 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.2599, allocations: 220.7 kB / 0.9911 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.26, allocations: 0 / 0.9911 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.26, allocations: 38.56 kB / 0.9911 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.26, allocations: 0 / 0.9911 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001722/0.2617, allocations: 0.6442 MB / 0.9917 GB, free: 448 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2618, allocations: 59.34 kB / 0.9918 GB, free: 376 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.2622, allocations: 421.6 kB / 0.9922 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.2623, allocations: 33.64 kB / 0.9922 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2624, allocations: 188 kB / 0.9924 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.2625, allocations: 55.19 kB / 0.9924 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2626, allocations: 41.7 kB / 0.9925 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2627, allocations: 342.8 kB / 0.9928 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.2632, allocations: 199.8 kB / 0.993 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.2638, allocations: 235.2 kB / 0.9932 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.2647, allocations: 370.6 kB / 0.9936 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2647, allocations: 0 / 0.9936 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001163/0.2659, allocations: 472.9 kB / 0.994 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2659, allocations: 7.938 kB / 0.994 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2659, allocations: 0 / 0.994 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.266, allocations: 0 / 0.994 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.2664, allocations: 59.92 kB / 0.9941 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2665, allocations: 3.938 kB / 0.9941 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2668, allocations: 39.89 kB / 0.9941 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.2668, allocations: 8 kB / 0.9941 GB, free: 13.89 MB / 0.7292 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.0001749/0.267, allocations: 165.8 kB / 0.9943 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2671, allocations: 35.53 kB / 0.9943 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.2672, allocations: 47.58 kB / 0.9944 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2672, allocations: 4 kB / 0.9944 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2672, allocations: 7.938 kB / 0.9944 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2672, allocations: 3.938 kB / 0.9944 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.2677, allocations: 470.8 kB / 0.9948 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2677, allocations: 4 kB / 0.9948 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.2681, allocations: 59.92 kB / 0.9949 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2682, allocations: 0 / 0.9949 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2682, allocations: 11.98 kB / 0.9949 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2682, allocations: 0 / 0.9949 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.2682, allocations: 3.938 kB / 0.9949 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2703, allocations: 1.436 MB / 0.9963 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2704, allocations: 124.5 kB / 0.9964 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.2705, allocations: 11.94 kB / 0.9965 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.2708, allocations: 27.95 kB / 0.9965 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2709, allocations: 31.89 kB / 0.9965 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.271, allocations: 4 kB / 0.9965 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003088/0.2713, allocations: 307.1 kB / 0.9968 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2713, allocations: 0 / 0.9968 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004219/0.2717, allocations: 72 kB / 0.9969 GB, free: 10.96 MB / 0.7292 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.000145/0.2719, allocations: 95.25 kB / 0.997 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.273, allocations: 440.9 kB / 0.9974 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.273, allocations: 0 / 0.9974 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.2736, allocations: 227.7 kB / 0.9976 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.274, allocations: 53.47 kB / 0.9977 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2754, allocations: 0.9019 MB / 0.9985 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2758, allocations: 0.8028 MB / 0.9993 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002906/0.2761, allocations: 62.25 kB / 0.9994 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2762, allocations: 27.42 kB / 0.9994 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.2762, allocations: 3.938 kB / 0.9994 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of Templates: time 0.008198/0.2844, allocations: 4.198 MB / 1.004 GB, free: 4.137 MB / 0.7292 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)