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: 107.5 kB / 15.99 MB, free: 6.355 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.001103/0.001103, allocations: 198.9 kB / 16.91 MB, free: 6.195 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 / 222.8 MB, free: 4.703 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.651/1.651, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001378/0.001378, allocations: 67.11 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2595, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003713/0.2633, allocations: 2.424 MB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.2653, allocations: 1.419 MB / 0.7873 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2654, allocations: 0 / 0.7873 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.266, allocations: 195 kB / 0.7875 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.2662, allocations: 71.47 kB / 0.7875 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2665, allocations: 95.89 kB / 0.7876 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.2668, allocations: 330.7 kB / 0.7879 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.267, allocations: 44.73 kB / 0.788 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.2672, allocations: 135.5 kB / 0.7881 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.2675, allocations: 191.3 kB / 0.7883 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.2675, allocations: 32 kB / 0.7883 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2677, allocations: 71.95 kB / 0.7884 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2678, allocations: 115.7 kB / 0.7885 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.268, allocations: 179 kB / 0.7887 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.2684, allocations: 383.4 kB / 0.789 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2684, allocations: 0 / 0.789 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2684, allocations: 0 / 0.789 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2684, allocations: 3.938 kB / 0.789 GB, free: 8.207 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.001264/0.2697, allocations: 0.7121 MB / 0.7897 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2697, allocations: 8.031 kB / 0.7897 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.2706, allocations: 144.4 kB / 0.7899 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.271, allocations: 350.2 kB / 0.7902 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.2711, allocations: 84.19 kB / 0.7903 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.2712, allocations: 12.38 kB / 0.7903 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.2719, allocations: 307.4 kB / 0.7906 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2719, allocations: 0 / 0.7906 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.2719, allocations: 0 / 0.7906 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.272, allocations: 4 kB / 0.7906 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.273, allocations: 432.2 kB / 0.791 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2746, allocations: 0.8629 MB / 0.7919 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.2752, allocations: 270.4 kB / 0.7921 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.2757, allocations: 220.7 kB / 0.7923 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.2758, allocations: 0 / 0.7923 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2758, allocations: 30.56 kB / 0.7924 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.2758, allocations: 4 kB / 0.7924 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001666/0.2775, allocations: 0.6455 MB / 0.793 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2775, allocations: 59.34 kB / 0.793 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.278, allocations: 425.6 kB / 0.7934 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.278, allocations: 29.7 kB / 0.7935 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2781, allocations: 184.1 kB / 0.7937 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.2782, allocations: 63.03 kB / 0.7937 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2783, allocations: 41.69 kB / 0.7938 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2785, allocations: 342.8 kB / 0.7941 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.279, allocations: 195.8 kB / 0.7943 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2795, allocations: 237.8 kB / 0.7945 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.2804, allocations: 368.6 kB / 0.7948 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2804, allocations: 0 / 0.7948 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001095/0.2815, allocations: 467.4 kB / 0.7953 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2816, allocations: 4 kB / 0.7953 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2816, allocations: 0 / 0.7953 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2816, allocations: 0 / 0.7953 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.2821, allocations: 63.92 kB / 0.7954 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2821, allocations: 3.938 kB / 0.7954 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.2824, allocations: 39.8 kB / 0.7954 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.2824, allocations: 15.98 kB / 0.7954 GB, free: 1.426 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.0001838/0.2826, allocations: 162.4 kB / 0.7956 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.2827, allocations: 39.52 kB / 0.7956 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.2828, allocations: 39.59 kB / 0.7956 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2828, allocations: 4 kB / 0.7956 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2828, allocations: 7.875 kB / 0.7957 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2828, allocations: 0 / 0.7957 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.2834, allocations: 482.9 kB / 0.7961 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2834, allocations: 0 / 0.7961 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.2838, allocations: 67.92 kB / 0.7962 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2838, allocations: 0 / 0.7962 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.2838, allocations: 0 / 0.7962 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2838, allocations: 7.938 kB / 0.7962 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.2838, allocations: 3.938 kB / 0.7962 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.285, allocations: 0.5497 MB / 0.7967 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.2851, allocations: 120.6 kB / 0.7968 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.2852, allocations: 4 kB / 0.7968 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.2855, allocations: 35.94 kB / 0.7969 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2856, allocations: 35.94 kB / 0.7969 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.2857, allocations: 4 kB / 0.7969 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003134/0.286, allocations: 311.1 kB / 0.7972 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.286, allocations: 0 / 0.7972 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003163/0.2863, allocations: 64 kB / 0.7973 GB, free: 15.42 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.0001683/0.2865, allocations: 99.19 kB / 0.7974 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2876, allocations: 449.9 kB / 0.7978 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2877, allocations: 0 / 0.7978 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.2882, allocations: 231.8 kB / 0.798 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2886, allocations: 56.27 kB / 0.7981 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.29, allocations: 0.791 MB / 0.7988 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2904, allocations: 0.7909 MB / 0.7996 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.2906, allocations: 35.41 kB / 0.7997 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.2906, allocations: 0 / 0.7997 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.00676/0.2974, allocations: 4.94 MB / 0.8045 GB, free: 8.016 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)