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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001423/0.001423, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.717/1.717, allocations: 205.1 MB / 222 MB, free: 4.758 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.832/1.832, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.00161/0.001611, allocations: 65.33 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2755, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002146/0.2777, allocations: 0.9021 MB / 0.7835 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.2778, allocations: 39.78 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.2779, allocations: 7.938 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.2779, allocations: 7.922 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.278, allocations: 7.875 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.327e-05/0.2781, allocations: 23.98 kB / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2782, allocations: 63.78 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2784, allocations: 37.38 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.2785, allocations: 31.86 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.2785, allocations: 31.8 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.2786, allocations: 4 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.2786, allocations: 7.938 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2786, allocations: 15.91 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.2787, allocations: 31.8 kB / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2788, allocations: 79.92 kB / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2788, allocations: 0 / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2788, allocations: 0 / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2788, allocations: 0 / 0.7839 GB, free: 12.72 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004867/0.2793, allocations: 391.2 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2794, allocations: 8.031 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.2794, allocations: 12.75 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.2796, allocations: 207.2 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2796, allocations: 4.375 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2797, allocations: 8.375 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.2799, allocations: 96.81 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2799, allocations: 8.188 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2799, allocations: 7.938 kB / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2799, allocations: 0 / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.28, allocations: 43.92 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.2806, allocations: 441.7 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.2806, allocations: 49.25 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.2807, allocations: 13.78 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.2807, allocations: 0 / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2807, allocations: 30.56 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2807, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000184/0.2809, allocations: 69.47 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.281, allocations: 77.11 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2811, allocations: 171.3 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2812, allocations: 25.7 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.2812, allocations: 111.9 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.2812, allocations: 7.906 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2813, allocations: 13.72 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2814, allocations: 327.1 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.2814, allocations: 11.94 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.2815, allocations: 25.64 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.2815, allocations: 21.72 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2815, allocations: 4 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.936e-05/0.2816, allocations: 61.58 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2817, allocations: 8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2817, allocations: 7.922 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2817, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.2818, allocations: 4 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.2818, allocations: 4 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.2818, allocations: 3.906 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2818, allocations: 4 kB / 0.7861 GB, free: 10.23 MB / 0.6075 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 9.192e-05/0.2819, allocations: 110.5 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.282, allocations: 15.94 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.282, allocations: 16.48 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.282, allocations: 4 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.282, allocations: 3.938 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.282, allocations: 0 / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.2825, allocations: 486.7 kB / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2825, allocations: 0 / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.2825, allocations: 7.984 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2825, allocations: 8 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2825, allocations: 0 / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2825, allocations: 0 / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2825, allocations: 0 / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.2826, allocations: 77.84 kB / 0.7868 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.2827, allocations: 101 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2827, allocations: 4.031 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.2827, allocations: 4 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.2827, allocations: 4 kB / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.2828, allocations: 0 / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2829, allocations: 131.9 kB / 0.787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2829, allocations: 0 / 0.787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001856/0.2831, allocations: 8 kB / 0.787 GB, free: 9.152 MB / 0.6075 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.0001108/0.2832, allocations: 99.19 kB / 0.7871 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.2833, allocations: 20 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2833, allocations: 0 / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.2833, allocations: 11.94 kB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.2835, allocations: 11.94 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2838, allocations: 196.5 kB / 0.7874 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.2841, allocations: 0.6965 MB / 0.788 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2841, allocations: 8.375 kB / 0.7881 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.2841, allocations: 15.44 kB / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2841, allocations: 0 / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.002358/0.2865, allocations: 463 kB / 0.7885 GB, free: 7.586 MB / 0.6075 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)