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.001216/0.001216, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 191.8 kB / 16.64 MB, free: 6.445 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.962/1.962, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001799/0.001799, allocations: 77.11 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.291, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002409/0.2934, allocations: 0.8519 MB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.2936, allocations: 51.7 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.2937, allocations: 4 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.2937, allocations: 7.875 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2938, allocations: 7.875 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.367e-05/0.2939, allocations: 23.97 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2941, allocations: 63.84 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2943, allocations: 45.31 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.2943, allocations: 31.86 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.2944, allocations: 31.78 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2944, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.2944, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.2945, allocations: 23.92 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.2945, allocations: 35.75 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2947, allocations: 87.56 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2947, allocations: 0 / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2947, allocations: 0 / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2947, allocations: 0 / 0.7854 GB, free: 11.47 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.0006246/0.2953, allocations: 387.1 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/0.2954, allocations: 8.031 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.2955, allocations: 16.75 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.2959, allocations: 196.2 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2959, allocations: 12.25 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.2959, allocations: 8.375 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2962, allocations: 87.95 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2962, allocations: 192 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.2962, allocations: 7.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2962, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2963, allocations: 39.92 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008389/0.2972, allocations: 456.6 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.2973, allocations: 41.25 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.2973, allocations: 13.78 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2974, allocations: 7.984 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2974, allocations: 30.56 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2974, allocations: 0 / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.2977, allocations: 61.48 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2978, allocations: 81.05 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2981, allocations: 169.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2981, allocations: 33.7 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.2982, allocations: 111.9 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.2982, allocations: 3.906 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2982, allocations: 17.72 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2984, allocations: 322.8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.2985, allocations: 8 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.2985, allocations: 17.66 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.2986, allocations: 29.72 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2986, allocations: 0 / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.2987, allocations: 65.53 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.2987, allocations: 8 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2988, allocations: 3.938 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.2988, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2989, allocations: 4 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.299, allocations: 4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.299, allocations: 7.969 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.299, allocations: 3.984 kB / 0.7875 GB, free: 8.984 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 0.0001479/0.2992, allocations: 113.8 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.2992, allocations: 11.91 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2993, allocations: 12.5 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2993, allocations: 4 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2993, allocations: 0 / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2993, allocations: 0 / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.2999, allocations: 486.7 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3, allocations: 3.938 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.3, allocations: 4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3, allocations: 7.938 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.3002, allocations: 85.89 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.3003, allocations: 96.91 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3003, allocations: 0 / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.3003, allocations: 3.938 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.3004, allocations: 4 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3004, allocations: 0 / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001559/0.3005, allocations: 134.1 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3005, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002522/0.3008, allocations: 8 kB / 0.7885 GB, free: 7.918 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.0002184/0.301, allocations: 99.19 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.3012, allocations: 19.98 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3012, allocations: 0 / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.3013, allocations: 11.94 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3015, allocations: 12.19 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.302, allocations: 174.2 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.3026, allocations: 0.6963 MB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.3026, allocations: 8.422 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3027, allocations: 11.44 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.3027, allocations: 4 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.002837/0.3055, allocations: 496.4 kB / 0.79 GB, free: 6.34 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)