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.001529/0.001529, allocations: 103 kB / 16.35 MB, free: 5.879 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.001789/0.001789, allocations: 191 kB / 17.29 MB, free: 5.516 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.002221/0.002221, allocations: 74.81 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2391, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003728/0.2429, allocations: 2.37 MB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3613/0.6043, allocations: 1.426 MB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.6045, allocations: 0 / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.6052, allocations: 202.3 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.6054, allocations: 79.75 kB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.6057, allocations: 116.3 kB / 0.7889 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.6061, allocations: 334.9 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.6062, allocations: 43.03 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.6065, allocations: 131.7 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.6067, allocations: 186 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.6068, allocations: 31.03 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.607, allocations: 67.36 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.6071, allocations: 127.7 kB / 0.7897 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.6073, allocations: 171.4 kB / 0.7899 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.6078, allocations: 495.2 kB / 0.7904 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6078, allocations: 0 / 0.7904 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6078, allocations: 4.859 kB / 0.7904 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.6078, allocations: 0 / 0.7904 GB, free: 46.33 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.001337/0.6092, allocations: 0.7157 MB / 0.7911 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6092, allocations: 10.5 kB / 0.7911 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/0.6101, allocations: 140.2 kB / 0.7912 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.6105, allocations: 352.4 kB / 0.7916 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.6106, allocations: 84.91 kB / 0.7916 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.6107, allocations: 8.438 kB / 0.7916 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.6114, allocations: 304.9 kB / 0.7919 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6114, allocations: 1.125 kB / 0.7919 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.6114, allocations: 3.75 kB / 0.7919 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6114, allocations: 3.156 kB / 0.7919 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.6125, allocations: 419 kB / 0.7923 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.614, allocations: 0.8602 MB / 0.7932 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.6146, allocations: 273.4 kB / 0.7934 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.6151, allocations: 221.8 kB / 0.7937 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.6151, allocations: 5.859 kB / 0.7937 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6151, allocations: 37.67 kB / 0.7937 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/0.6151, allocations: 0 / 0.7937 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001611/0.6168, allocations: 0.6488 MB / 0.7943 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.6168, allocations: 54.91 kB / 0.7944 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.6172, allocations: 426.8 kB / 0.7948 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.6172, allocations: 32.36 kB / 0.7948 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.6173, allocations: 177.5 kB / 0.795 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.6174, allocations: 59.45 kB / 0.795 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6175, allocations: 45.42 kB / 0.7951 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.6175, allocations: 348.2 kB / 0.7954 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.618, allocations: 190.3 kB / 0.7956 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.6185, allocations: 236.9 kB / 0.7958 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.6195, allocations: 361.3 kB / 0.7962 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6195, allocations: 5.219 kB / 0.7962 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001064/0.6206, allocations: 465.7 kB / 0.7966 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6206, allocations: 4.125 kB / 0.7966 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6206, allocations: 3.406 kB / 0.7966 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6206, allocations: 0 / 0.7966 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.6211, allocations: 64.98 kB / 0.7967 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6211, allocations: 5.812 kB / 0.7967 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.6214, allocations: 40.89 kB / 0.7967 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.6215, allocations: 8.422 kB / 0.7967 GB, free: 44.26 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.0001481/0.6216, allocations: 161.7 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.6217, allocations: 40.48 kB / 0.7969 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.6218, allocations: 45.56 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6218, allocations: 2.688 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6218, allocations: 3.938 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6218, allocations: 2.891 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.6222, allocations: 477.9 kB / 0.7974 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6223, allocations: 0 / 0.7974 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.6227, allocations: 61.16 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6227, allocations: 2.969 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.6227, allocations: 6.547 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6228, allocations: 4 kB / 0.7975 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6228, allocations: 6.812 kB / 0.7975 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.6239, allocations: 0.5522 MB / 0.7981 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.624, allocations: 111.7 kB / 0.7982 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.624, allocations: 7.766 kB / 0.7982 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.6244, allocations: 29.62 kB / 0.7982 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6245, allocations: 31.33 kB / 0.7982 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.6245, allocations: 7.906 kB / 0.7982 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002828/0.6248, allocations: 307.9 kB / 0.7985 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6248, allocations: 4 kB / 0.7985 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003522/0.6252, allocations: 75.88 kB / 0.7986 GB, free: 43.3 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.0001189/0.6253, allocations: 99.34 kB / 0.7987 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.6264, allocations: 439.8 kB / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6264, allocations: 0 / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.627, allocations: 226 kB / 0.7993 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.6274, allocations: 47.92 kB / 0.7994 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6287, allocations: 0.6602 MB / 0.8 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.6289, allocations: 0.7985 MB / 0.8008 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002727/0.6292, allocations: 63.16 kB / 0.8009 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6294, allocations: 28.42 kB / 0.8009 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6294, allocations: 0 / 0.8009 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.009373/0.6387, allocations: 4.255 MB / 0.8051 GB, free: 41.74 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)