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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 308.1 MB, free: 4.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 190.2 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 108 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002967/0.3276, allocations: 0.9123 MB / 0.9831 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.3278, allocations: 39.8 kB / 0.9831 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.3279, allocations: 3.938 kB / 0.9832 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.298e-05/0.328, allocations: 3.938 kB / 0.9832 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3281, allocations: 11.92 kB / 0.9832 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.79e-05/0.3282, allocations: 15.98 kB / 0.9832 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3284, allocations: 63.84 kB / 0.9832 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3286, allocations: 41.39 kB / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.3287, allocations: 27.8 kB / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.3287, allocations: 31.78 kB / 0.9833 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3288, allocations: 4 kB / 0.9833 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.3288, allocations: 8 kB / 0.9834 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.3288, allocations: 11.94 kB / 0.9834 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.3289, allocations: 39.73 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.329, allocations: 75.91 kB / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.329, allocations: 0 / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3291, allocations: 0 / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3291, allocations: 0 / 0.9835 GB, free: 9.082 MB / 0.7136 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.0005795/0.3296, allocations: 399.1 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3297, allocations: 12.03 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3298, allocations: 12.84 kB / 0.9839 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.33, allocations: 196.1 kB / 0.9841 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.33, allocations: 4.359 kB / 0.9841 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3301, allocations: 12.38 kB / 0.9841 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3303, allocations: 98.77 kB / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3303, allocations: 192 / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3303, allocations: 3.938 kB / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3304, allocations: 4 kB / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.3305, allocations: 39.98 kB / 0.9842 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.3311, allocations: 440.6 kB / 0.9846 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.3312, allocations: 45.22 kB / 0.9847 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.3313, allocations: 13.7 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3313, allocations: 4.062 kB / 0.9847 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3313, allocations: 38.59 kB / 0.9847 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3313, allocations: 0 / 0.9847 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002287/0.3316, allocations: 65.38 kB / 0.9848 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.3316, allocations: 81.36 kB / 0.9849 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3318, allocations: 171.3 kB / 0.985 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3319, allocations: 25.7 kB / 0.9851 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.332, allocations: 108 kB / 0.9852 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.332, allocations: 7.906 kB / 0.9852 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.332, allocations: 25.64 kB / 0.9852 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3322, allocations: 314.8 kB / 0.9855 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.3322, allocations: 7.984 kB / 0.9855 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.3322, allocations: 25.72 kB / 0.9855 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.3323, allocations: 29.66 kB / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3323, allocations: 0 / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.3324, allocations: 61.53 kB / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3324, allocations: 4 kB / 0.9856 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3324, allocations: 3.938 kB / 0.9856 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.3325, allocations: 8.062 kB / 0.9856 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.3325, allocations: 11.94 kB / 0.9856 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3326, allocations: 0 / 0.9856 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3326, allocations: 11.91 kB / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3326, allocations: 0 / 0.9857 GB, free: 6.578 MB / 0.7136 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.0001014/0.3327, allocations: 117.8 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.3328, allocations: 7.906 kB / 0.9858 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.3328, allocations: 16.5 kB / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3328, allocations: 0 / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3329, allocations: 4 kB / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3329, allocations: 4 kB / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3333, allocations: 478.7 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3333, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.3334, allocations: 4 kB / 0.9863 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3334, allocations: 0 / 0.9863 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3334, allocations: 4 kB / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3334, allocations: 0 / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3334, allocations: 4.062 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.3338, allocations: 0.648 MB / 0.9869 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.3339, allocations: 89 kB / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.3339, allocations: 0 / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.334, allocations: 4.031 kB / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.334, allocations: 3.938 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.334, allocations: 8 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001222/0.3341, allocations: 123.9 kB / 0.9871 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3341, allocations: 0 / 0.9871 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002897/0.3344, allocations: 8 kB / 0.9871 GB, free: 4.922 MB / 0.7136 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.0001505/0.3346, allocations: 103.2 kB / 0.9872 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3347, allocations: 24 kB / 0.9872 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3347, allocations: 0 / 0.9872 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.3347, allocations: 7.938 kB / 0.9873 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.3349, allocations: 8 kB / 0.9873 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.3354, allocations: 306.8 kB / 0.9876 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3358, allocations: 0.6965 MB / 0.9882 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.3358, allocations: 4.438 kB / 0.9882 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3359, allocations: 11.44 kB / 0.9883 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.3359, allocations: 4 kB / 0.9883 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of Templates: time 0.002862/0.3387, allocations: 492.4 kB / 0.9887 GB, free: 3.207 MB / 0.7136 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)