Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001317/0.001317, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.482/1.482, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.757/1.757, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001449/0.001449, allocations: 71.03 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2726, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003493/0.2762, allocations: 0.8446 MB / 0.7849 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001963/0.2764, allocations: 43.78 kB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.2765, allocations: 0 / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.692e-05/0.2766, allocations: 7.875 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2767, allocations: 15.86 kB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.995e-05/0.2768, allocations: 23.92 kB / 0.7849 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.277, allocations: 67.84 kB / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.2772, allocations: 37.33 kB / 0.785 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.2773, allocations: 31.84 kB / 0.7851 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.2775, allocations: 39.8 kB / 0.7851 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.2775, allocations: 4 kB / 0.7851 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2775, allocations: 11.94 kB / 0.7851 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.2776, allocations: 15.98 kB / 0.7851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.2777, allocations: 35.73 kB / 0.7852 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2779, allocations: 83.91 kB / 0.7853 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2779, allocations: 0 / 0.7853 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2779, allocations: 0 / 0.7853 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2779, allocations: 0 / 0.7853 GB, free: 2.641 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006788/0.2786, allocations: 391.1 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2787, allocations: 11.97 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.2787, allocations: 16.75 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2791, allocations: 188.2 kB / 0.7858 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2791, allocations: 8.375 kB / 0.7858 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.2791, allocations: 4.375 kB / 0.7858 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2794, allocations: 98.59 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2794, allocations: 192 / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2795, allocations: 11.94 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2795, allocations: 7.938 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.2797, allocations: 43.92 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.2805, allocations: 440.5 kB / 0.7864 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.2807, allocations: 45.28 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.2807, allocations: 17.84 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2808, allocations: 0 / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.2808, allocations: 34.56 kB / 0.7865 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.2808, allocations: 0 / 0.7865 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000304/0.2811, allocations: 69.47 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.2812, allocations: 77.11 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2816, allocations: 165.5 kB / 0.7868 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2816, allocations: 25.7 kB / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2817, allocations: 111.9 kB / 0.7869 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2817, allocations: 7.906 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.2818, allocations: 13.72 kB / 0.787 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003199/0.2821, allocations: 323.1 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.2822, allocations: 11.94 kB / 0.7873 GB, free: 324 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.2823, allocations: 21.7 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.2824, allocations: 29.72 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2824, allocations: 0 / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001775/0.2826, allocations: 65.53 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2826, allocations: 8.062 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2826, allocations: 3.938 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2827, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2828, allocations: 8 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2828, allocations: 0 / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2829, allocations: 0 / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2829, allocations: 4 kB / 0.7874 GB, free: 164 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.283, allocations: 113.8 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.2831, allocations: 11.81 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.2832, allocations: 24.48 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2832, allocations: 0 / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.6725, allocations: 112 / 0.7876 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6725, allocations: 3.844 kB / 0.7876 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.673, allocations: 474.2 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6731, allocations: 7.516 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.6731, allocations: 4.25 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.6731, allocations: 0 / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6731, allocations: 3.844 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6731, allocations: 3.656 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6732, allocations: 4.688 kB / 0.788 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.6732, allocations: 78.19 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.6733, allocations: 92.64 kB / 0.7882 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.6733, allocations: 9.391 kB / 0.7882 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.6734, allocations: 0 / 0.7882 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.6734, allocations: 3.656 kB / 0.7882 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6734, allocations: 0.5 kB / 0.7882 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.6735, allocations: 126 kB / 0.7883 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6735, allocations: 0 / 0.7883 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002501/0.6737, allocations: 14.16 kB / 0.7884 GB, free: 47.63 MB / 0.6544 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 (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.0001216/0.6739, allocations: 102.1 kB / 0.7884 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.674, allocations: 25.5 kB / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.674, allocations: 2.75 kB / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.674, allocations: 5.781 kB / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.6742, allocations: 9.312 kB / 0.7885 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.6745, allocations: 195.3 kB / 0.7887 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.6746, allocations: 0.6952 MB / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.6746, allocations: 12.78 kB / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.6746, allocations: 0 / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002264/0.6769, allocations: 0.9292 MB / 0.7903 GB, free: 46.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)