Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001715/0.001715, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.706/1.706, 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.844/1.844, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.00142/0.00142, allocations: 67.14 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.305, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002922/0.308, allocations: 0.9021 MB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.3082, allocations: 47.78 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.3083, allocations: 0 / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.21e-05/0.3083, allocations: 7.922 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3085, allocations: 3.938 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.353e-05/0.3085, allocations: 19.98 kB / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3087, allocations: 63.78 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3089, allocations: 41.38 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.3089, allocations: 31.8 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.309, allocations: 27.8 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3091, allocations: 8 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.3091, allocations: 4 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.3091, allocations: 19.92 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.3092, allocations: 31.73 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3093, allocations: 83.91 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.3093, allocations: 0 / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3093, allocations: 0 / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3094, allocations: 0 / 0.7839 GB, free: 12.71 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.0009059/0.3103, allocations: 391.2 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.3103, allocations: 12.03 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3104, allocations: 16.75 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3108, allocations: 191.2 kB / 0.7845 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3108, allocations: 8.375 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3108, allocations: 4.375 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3111, allocations: 95.94 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3111, allocations: 192 / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3111, allocations: 11.92 kB / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3112, allocations: 8 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.3113, allocations: 39.92 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.312, allocations: 445.5 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.3121, allocations: 49.22 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.3121, allocations: 17.84 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.3121, allocations: 0 / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3122, allocations: 34.56 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3122, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002/0.3124, allocations: 65.41 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3124, allocations: 85.36 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3126, allocations: 167.3 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3126, allocations: 25.7 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3127, allocations: 115.8 kB / 0.7856 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.3127, allocations: 3.906 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3128, allocations: 21.7 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3129, allocations: 318.8 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.313, allocations: 7.984 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.313, allocations: 21.72 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.313, allocations: 29.72 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3131, allocations: 0 / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.127e-05/0.3131, allocations: 65.53 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3132, allocations: 4 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3132, allocations: 3.938 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3132, allocations: 4.062 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.3133, allocations: 8 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3133, allocations: 0 / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.3133, allocations: 3.906 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3134, allocations: 4 kB / 0.7861 GB, free: 10.22 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.258e-05/0.3135, allocations: 113.8 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3135, allocations: 11.84 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.3135, allocations: 20.48 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3135, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3136, allocations: 8 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3136, allocations: 0 / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.314, allocations: 482.7 kB / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.314, allocations: 0 / 0.7867 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.3141, allocations: 4 kB / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3141, allocations: 0 / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3141, allocations: 3.938 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3141, allocations: 8.062 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3141, allocations: 0 / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.3142, allocations: 81.83 kB / 0.7868 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.3143, allocations: 88.92 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3143, allocations: 4 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.3143, allocations: 4 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.3144, allocations: 11.95 kB / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3144, allocations: 0 / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001727/0.3146, allocations: 124 kB / 0.787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3146, allocations: 0 / 0.787 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001874/0.3148, allocations: 12 kB / 0.787 GB, free: 9.148 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.0001489/0.3149, allocations: 99.19 kB / 0.7871 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.315, allocations: 16 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.315, allocations: 4.125 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.3151, allocations: 11.92 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.3153, allocations: 11.94 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.3157, allocations: 188.4 kB / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.316, allocations: 0.6965 MB / 0.788 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.3161, allocations: 8.422 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3161, allocations: 11.44 kB / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3161, allocations: 3.938 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.002715/0.3189, allocations: 470.8 kB / 0.7885 GB, free: 7.582 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)