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.0008884/0.0008885, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005336/0.005336, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.918/1.918, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.838/1.838, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006409/0.0006409, allocations: 18.56 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3227, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001276/0.324, allocations: 0.5633 MB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.3243, allocations: 39.78 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.3243, allocations: 4 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.3244, allocations: 7.922 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3245, allocations: 7.938 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.427e-05/0.3246, allocations: 15.98 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3247, allocations: 67.77 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3249, allocations: 37.39 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.3249, allocations: 19.88 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.325, allocations: 31.72 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3251, allocations: 4 kB / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.3251, allocations: 0 / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.3251, allocations: 11.94 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.3252, allocations: 53.45 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3253, allocations: 83.88 kB / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3253, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3253, allocations: 0 / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3253, allocations: 0 / 0.7888 GB, free: 10.63 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.0005029/0.3259, allocations: 367.2 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3259, allocations: 8.031 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.326, allocations: 16.84 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.3262, allocations: 203 kB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3263, allocations: 384 / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3263, allocations: 12.38 kB / 0.7894 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3265, allocations: 98.45 kB / 0.7895 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3265, allocations: 192 / 0.7895 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3265, allocations: 3.938 kB / 0.7895 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3265, allocations: 4 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.3266, allocations: 39.92 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.3273, allocations: 452.6 kB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3274, allocations: 50.31 kB / 0.79 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.3275, allocations: 17.7 kB / 0.79 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.3275, allocations: 4.062 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3275, allocations: 34.56 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3275, allocations: 3.938 kB / 0.79 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.3278, allocations: 61.47 kB / 0.7901 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.3278, allocations: 77.11 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.328, allocations: 175.6 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3281, allocations: 29.7 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.3281, allocations: 108 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.3282, allocations: 7.906 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.3282, allocations: 9.719 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3283, allocations: 322.8 kB / 0.7908 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.3284, allocations: 11.94 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.3284, allocations: 13.72 kB / 0.7908 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/0.3284, allocations: 29.72 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3284, allocations: 0 / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.3285, allocations: 65.53 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3286, allocations: 8 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3286, allocations: 3.938 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3286, allocations: 0 / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.3287, allocations: 4 kB / 0.7909 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3287, allocations: 4.062 kB / 0.7909 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.3287, allocations: 11.89 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.3287, allocations: 0 / 0.7909 GB, free: 8.156 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 8.796e-05/0.3288, allocations: 113.8 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3289, allocations: 7.906 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.3289, allocations: 16.5 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3289, allocations: 4 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3289, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.329, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.3294, allocations: 486.7 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3294, allocations: 0 / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.3294, allocations: 7.938 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3294, allocations: 3.938 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3295, allocations: 4 kB / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3295, allocations: 0 / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3295, allocations: 0 / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.3296, allocations: 89.8 kB / 0.7916 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.3297, allocations: 96.94 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3297, allocations: 0 / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.3297, allocations: 0 / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.3297, allocations: 0 / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.3297, allocations: 4 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.821e-05/0.3298, allocations: 128 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.703e-06/0.3298, allocations: 0 / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001782/0.33, allocations: 11.94 kB / 0.7919 GB, free: 7.09 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.0001322/0.3302, allocations: 99.25 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.3303, allocations: 19.98 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3303, allocations: 0 / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.3303, allocations: 11.94 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.3305, allocations: 8.188 kB / 0.792 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.3308, allocations: 192.3 kB / 0.7922 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3311, allocations: 0.6965 MB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.3311, allocations: 8.422 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.3312, allocations: 11.44 kB / 0.7929 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3312, allocations: 0 / 0.7929 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.003109/0.3343, allocations: 456.5 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: