Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.001488/0.001488, allocations: 182.3 kB / 17.19 MB, free: 5.609 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.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.788/1.788, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001484/0.001484, allocations: 79.89 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2396, allocations: 114.5 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002427/0.2421, allocations: 0.8492 MB / 0.7849 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.2423, allocations: 47.72 kB / 0.7849 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.2424, allocations: 4 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.215e-05/0.2425, allocations: 7.875 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.2426, allocations: 15.8 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.507e-05/0.2426, allocations: 15.98 kB / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2428, allocations: 67.84 kB / 0.785 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.2429, allocations: 45.38 kB / 0.7851 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.243, allocations: 31.8 kB / 0.7851 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.2431, allocations: 23.86 kB / 0.7851 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.2431, allocations: 11.94 kB / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2431, allocations: 12 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.2431, allocations: 15.92 kB / 0.7851 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.2432, allocations: 35.8 kB / 0.7852 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2433, allocations: 83.91 kB / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2433, allocations: 0 / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2434, allocations: 0 / 0.7853 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2434, allocations: 0 / 0.7853 GB, free: 2.676 MB / 0.6544 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.000532/0.2439, allocations: 387.1 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.244, allocations: 12.03 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.244, allocations: 12.75 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2443, allocations: 194.7 kB / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2443, allocations: 8.375 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2443, allocations: 4.375 kB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2445, allocations: 95.94 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2445, allocations: 4.125 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2445, allocations: 11.88 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2446, allocations: 8 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.2446, allocations: 35.98 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.2453, allocations: 444.7 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.2454, allocations: 45.03 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.2454, allocations: 17.84 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2454, allocations: 0 / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2455, allocations: 34.5 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2455, allocations: 0 / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.2457, allocations: 61.53 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.2457, allocations: 89.3 kB / 0.7867 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2459, allocations: 165.5 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2459, allocations: 25.7 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.246, allocations: 111.9 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.246, allocations: 3.906 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.2461, allocations: 21.7 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2462, allocations: 318.8 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.2463, allocations: 8 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.2463, allocations: 21.7 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.2464, allocations: 29.72 kB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2464, allocations: 0 / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.2465, allocations: 61.53 kB / 0.7874 GB, free: 232 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2465, allocations: 8 kB / 0.7874 GB, free: 224 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2465, allocations: 3.938 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2465, allocations: 4.062 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.2466, allocations: 4 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2466, allocations: 4 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.2467, allocations: 7.938 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2467, allocations: 4 kB / 0.7874 GB, free: 196 kB / 0.6544 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.144e-05/0.2468, allocations: 113.8 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.2468, allocations: 11.81 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.2469, allocations: 16.48 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2469, allocations: 4 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2469, allocations: 4 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2469, allocations: 0 / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3854/0.6323, allocations: 478.9 kB / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6323, allocations: 0 / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.6324, allocations: 7.641 kB / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6324, allocations: 0 / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.6324, allocations: 3.422 kB / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6324, allocations: 1.688 kB / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6324, allocations: 0 / 0.788 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.545e-05/0.6325, allocations: 86.23 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.6325, allocations: 93.98 kB / 0.7882 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6325, allocations: 2.844 kB / 0.7882 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.6326, allocations: 0 / 0.7882 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.6326, allocations: 2.906 kB / 0.7882 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.6326, allocations: 3.219 kB / 0.7882 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.6327, allocations: 127.4 kB / 0.7883 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6327, allocations: 0.8438 kB / 0.7883 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002574/0.6329, allocations: 7.781 kB / 0.7883 GB, free: 47.71 MB / 0.6544 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 9.435e-05/0.633, allocations: 101.5 kB / 0.7884 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.504e-05/0.6331, allocations: 32.5 kB / 0.7885 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6331, allocations: 1.5 kB / 0.7885 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.6332, allocations: 5.625 kB / 0.7885 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.6334, allocations: 6.5 kB / 0.7885 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.6336, allocations: 192.8 kB / 0.7887 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.6337, allocations: 0.6982 MB / 0.7894 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.6338, allocations: 15.84 kB / 0.7894 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6338, allocations: 0 / 0.7894 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.002003/0.6358, allocations: 0.9208 MB / 0.7903 GB, free: 46.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)