Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 288.4 MB / 303.7 MB, free: 8.859 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.001147/0.001148, allocations: 178.5 kB / 372.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.631 GB, free: 14.39 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.00106/0.00106, allocations: 90.27 kB / 0.7444 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 12 kB / 0.8675 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2811, allocations: 115.3 MB / 0.9801 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001357/0.2825, allocations: 0.5365 MB / 0.9807 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.2827, allocations: 47.77 kB / 0.9807 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2827, allocations: 4 kB / 0.9807 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.2828, allocations: 3.938 kB / 0.9807 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.2829, allocations: 7.938 kB / 0.9807 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.39e-05/0.2829, allocations: 15.98 kB / 0.9807 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2831, allocations: 59.84 kB / 0.9808 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2832, allocations: 41.33 kB / 0.9808 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.2833, allocations: 19.84 kB / 0.9808 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.2834, allocations: 23.86 kB / 0.9809 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2834, allocations: 0 / 0.9809 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.2834, allocations: 4 kB / 0.9809 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.2834, allocations: 7.938 kB / 0.9809 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.2835, allocations: 61.44 kB / 0.9809 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.668e-05/0.2836, allocations: 60.08 kB / 0.981 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2836, allocations: 0 / 0.981 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2836, allocations: 4 kB / 0.981 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2837, allocations: 0 / 0.981 GB, free: 12.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005093/0.2842, allocations: 371.2 kB / 0.9814 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2842, allocations: 8.031 kB / 0.9814 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2843, allocations: 12.84 kB / 0.9814 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2845, allocations: 202.5 kB / 0.9816 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2846, allocations: 4.375 kB / 0.9816 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2846, allocations: 12.31 kB / 0.9816 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2848, allocations: 95.95 kB / 0.9817 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2848, allocations: 192 / 0.9817 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2848, allocations: 3.938 kB / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2848, allocations: 4 kB / 0.9817 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.2849, allocations: 47.84 kB / 0.9817 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.2855, allocations: 448.5 kB / 0.9822 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.779e-05/0.2856, allocations: 45.17 kB / 0.9822 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.2857, allocations: 21.83 kB / 0.9822 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.2857, allocations: 0 / 0.9822 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2857, allocations: 34.56 kB / 0.9823 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2857, allocations: 0 / 0.9823 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/0.2859, allocations: 57.48 kB / 0.9823 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.286, allocations: 81.09 kB / 0.9824 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.2862, allocations: 167.6 kB / 0.9825 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2862, allocations: 33.7 kB / 0.9826 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.2863, allocations: 112 kB / 0.9827 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.2863, allocations: 7.906 kB / 0.9827 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2863, allocations: 0 / 0.9827 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2864, allocations: 322.8 kB / 0.983 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.2865, allocations: 4 kB / 0.983 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.2865, allocations: 21.66 kB / 0.983 GB, free: 10 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.2865, allocations: 29.72 kB / 0.9831 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2865, allocations: 0 / 0.9831 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.934e-05/0.2866, allocations: 65.53 kB / 0.9831 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2867, allocations: 4 kB / 0.9831 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2867, allocations: 7.938 kB / 0.9831 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2867, allocations: 0 / 0.9831 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.2868, allocations: 4 kB / 0.9831 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2868, allocations: 3.984 kB / 0.9831 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.2868, allocations: 11.97 kB / 0.9831 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2868, allocations: 0 / 0.9831 GB, free: 9.867 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/0.2869, allocations: 113.8 kB / 0.9833 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.287, allocations: 7.906 kB / 0.9833 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.287, allocations: 16.5 kB / 0.9833 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.287, allocations: 0 / 0.9833 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.287, allocations: 4 kB / 0.9833 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.287, allocations: 3.984 kB / 0.9833 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.2875, allocations: 482.6 kB / 0.9837 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2875, allocations: 4 kB / 0.9837 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.2875, allocations: 3.938 kB / 0.9838 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2875, allocations: 4 kB / 0.9838 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2875, allocations: 0 / 0.9838 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2875, allocations: 3.938 kB / 0.9838 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2875, allocations: 0 / 0.9838 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.2876, allocations: 89.89 kB / 0.9838 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2877, allocations: 85 kB / 0.9839 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2877, allocations: 4 kB / 0.9839 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.2877, allocations: 3.938 kB / 0.9839 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.2877, allocations: 4 kB / 0.9839 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2878, allocations: 4 kB / 0.9839 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.2878, allocations: 124 kB / 0.9841 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2878, allocations: 0 / 0.9841 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001703/0.288, allocations: 8 kB / 0.9841 GB, free: 8.809 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.2882, allocations: 103.2 kB / 0.9842 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.2883, allocations: 19.94 kB / 0.9842 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2883, allocations: 0 / 0.9842 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.2883, allocations: 4 kB / 0.9842 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.2885, allocations: 12.19 kB / 0.9842 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.2889, allocations: 197.9 kB / 0.9844 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.2892, allocations: 0.7004 MB / 0.9851 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.2893, allocations: 8.422 kB / 0.9851 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.2893, allocations: 11.44 kB / 0.9851 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.2893, allocations: 0 / 0.9851 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.002593/0.2919, allocations: 458.2 kB / 0.9855 GB, free: 7.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)