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.001171/0.001172, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001108/0.001108, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001669/0.001669, allocations: 59.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.259, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004429/0.2635, allocations: 2.374 MB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.2659, allocations: 1.431 MB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.2662, allocations: 4 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4884/0.7547, allocations: 193.8 kB / 0.7879 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.755, allocations: 78.34 kB / 0.788 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.7555, allocations: 116.5 kB / 0.7881 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.7559, allocations: 332.3 kB / 0.7884 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.7561, allocations: 45.58 kB / 0.7885 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.7563, allocations: 127.8 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.7566, allocations: 189 kB / 0.7888 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.7566, allocations: 33.84 kB / 0.7888 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.7568, allocations: 74.02 kB / 0.7889 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.7569, allocations: 116.1 kB / 0.789 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.7571, allocations: 174.2 kB / 0.7892 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.7575, allocations: 493 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.7575, allocations: 3.219 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7575, allocations: 0 / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.7575, allocations: 0.5312 kB / 0.7896 GB, free: 45.77 MB / 0.6544 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.001155/0.7587, allocations: 0.7041 MB / 0.7903 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7588, allocations: 12.88 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/0.7596, allocations: 142.8 kB / 0.7905 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.76, allocations: 349.5 kB / 0.7908 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.7601, allocations: 83.66 kB / 0.7909 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.7602, allocations: 12.19 kB / 0.7909 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.7608, allocations: 301.7 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7609, allocations: 8.016 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.7609, allocations: 4.375 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7609, allocations: 2.625 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.7619, allocations: 417.5 kB / 0.7916 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.7634, allocations: 0.861 MB / 0.7924 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.764, allocations: 276 kB / 0.7927 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.7645, allocations: 220.1 kB / 0.7929 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.7646, allocations: 4.766 kB / 0.7929 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.7646, allocations: 38.5 kB / 0.7929 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.7646, allocations: 1.281 kB / 0.793 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001621/0.7662, allocations: 0.6472 MB / 0.7936 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.7663, allocations: 58.25 kB / 0.7936 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.7666, allocations: 431.9 kB / 0.7941 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.7667, allocations: 27.67 kB / 0.7941 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.7668, allocations: 186.1 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.7668, allocations: 51.66 kB / 0.7943 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.7669, allocations: 40.16 kB / 0.7943 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.767, allocations: 345.7 kB / 0.7947 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.7675, allocations: 196.5 kB / 0.7949 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.768, allocations: 235.8 kB / 0.7951 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.7689, allocations: 365.3 kB / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7689, allocations: 0.6094 kB / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001102/0.77, allocations: 463.6 kB / 0.7959 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7701, allocations: 7.875 kB / 0.7959 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7701, allocations: 4 kB / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.7701, allocations: 0 / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.7706, allocations: 56.88 kB / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.7706, allocations: 12.83 kB / 0.796 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.7709, allocations: 42.19 kB / 0.796 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.771, allocations: 4.859 kB / 0.796 GB, free: 43.7 MB / 0.6544 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.0001902/0.7712, allocations: 166.9 kB / 0.7962 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.7712, allocations: 39.5 kB / 0.7962 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.7713, allocations: 37.59 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7713, allocations: 4.531 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.7713, allocations: 4.688 kB / 0.7962 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7713, allocations: 1.531 kB / 0.7962 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.7719, allocations: 479.2 kB / 0.7967 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7719, allocations: 0 / 0.7967 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.7723, allocations: 74.2 kB / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7723, allocations: 0 / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.7723, allocations: 2.25 kB / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7723, allocations: 2.875 kB / 0.7968 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7724, allocations: 5.812 kB / 0.7968 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7735, allocations: 0.5503 MB / 0.7973 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.7735, allocations: 110.6 kB / 0.7974 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.7736, allocations: 9.5 kB / 0.7974 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.774, allocations: 29.42 kB / 0.7975 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7741, allocations: 28.91 kB / 0.7975 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.7741, allocations: 15.66 kB / 0.7975 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003095/0.7744, allocations: 306.7 kB / 0.7978 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7744, allocations: 0 / 0.7978 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003268/0.7748, allocations: 71.09 kB / 0.7979 GB, free: 42.97 MB / 0.6544 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.000136/0.7749, allocations: 103.7 kB / 0.798 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.7761, allocations: 447.3 kB / 0.7984 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7761, allocations: 0 / 0.7984 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.7767, allocations: 228.2 kB / 0.7986 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.7772, allocations: 47.28 kB / 0.7986 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.7785, allocations: 0.7063 MB / 0.7993 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.7789, allocations: 0.7948 MB / 0.8001 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.7791, allocations: 30.5 kB / 0.8001 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of SimCode: time 7.12e-07/0.7791, allocations: 2.531 kB / 0.8001 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.01105/0.7902, allocations: 4.952 MB / 0.805 GB, free: 41.25 MB / 0.6544 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)