Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.002232/0.002233, allocations: 190.4 kB / 376.9 MB, free: 1.793 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.058/2.058, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001016/0.001016, allocations: 99.55 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2811, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002279/0.2834, allocations: 0.9062 MB / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.2836, allocations: 39.78 kB / 0.9831 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.2836, allocations: 4 kB / 0.9831 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.2837, allocations: 7.922 kB / 0.9832 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.2838, allocations: 7.938 kB / 0.9832 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.2838, allocations: 15.98 kB / 0.9832 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.284, allocations: 67.8 kB / 0.9832 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2841, allocations: 45.36 kB / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.2842, allocations: 19.88 kB / 0.9833 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.2842, allocations: 35.72 kB / 0.9833 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2843, allocations: 8 kB / 0.9833 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2843, allocations: 4 kB / 0.9833 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2843, allocations: 19.91 kB / 0.9834 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.2844, allocations: 35.75 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.2845, allocations: 71.97 kB / 0.9835 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2845, allocations: 0 / 0.9835 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2845, allocations: 3.938 kB / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2845, 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.000473/0.285, allocations: 399.1 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.285, allocations: 8.031 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2852, allocations: 12.84 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2854, allocations: 206.7 kB / 0.9841 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2854, allocations: 4.375 kB / 0.9841 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2854, allocations: 8.375 kB / 0.9841 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2856, allocations: 93.58 kB / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2856, allocations: 192 / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2856, allocations: 3.938 kB / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2856, allocations: 8 kB / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.2857, allocations: 43.91 kB / 0.9842 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.2863, allocations: 432.6 kB / 0.9846 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.753e-05/0.2864, allocations: 49.27 kB / 0.9847 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.2864, allocations: 13.84 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2864, allocations: 4 kB / 0.9847 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2864, allocations: 34.56 kB / 0.9847 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2864, allocations: 0 / 0.9847 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.2866, allocations: 61.58 kB / 0.9848 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2867, allocations: 85.16 kB / 0.9849 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2868, allocations: 171.3 kB / 0.985 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2868, allocations: 25.7 kB / 0.9851 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.2869, allocations: 111.9 kB / 0.9852 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.2869, allocations: 7.906 kB / 0.9852 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.287, allocations: 17.72 kB / 0.9852 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2871, allocations: 318.8 kB / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2871, allocations: 8 kB / 0.9855 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.2871, allocations: 17.72 kB / 0.9855 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.2872, allocations: 33.7 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2872, allocations: 0 / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.699e-05/0.2873, allocations: 57.55 kB / 0.9856 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2873, allocations: 4 kB / 0.9856 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2873, allocations: 8 kB / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2873, allocations: 0 / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.2874, allocations: 23.92 kB / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2874, allocations: 0 / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.2875, allocations: 7.906 kB / 0.9857 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.2875, allocations: 0 / 0.9857 GB, free: 6.586 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 7.325e-05/0.2876, allocations: 113.8 kB / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.2876, allocations: 11.84 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.2876, allocations: 20.48 kB / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2876, allocations: 4 kB / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2877, allocations: 0 / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2877, allocations: 0 / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.288, allocations: 486.6 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2881, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.2881, allocations: 4 kB / 0.9863 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2881, allocations: 3.984 kB / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2881, allocations: 4.062 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2881, allocations: 4 kB / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2881, allocations: 0 / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2884, allocations: 0.6441 MB / 0.9869 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2885, allocations: 85.09 kB / 0.987 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2885, allocations: 8.031 kB / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.592e-05/0.2885, allocations: 3.984 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.2885, allocations: 7.938 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2885, allocations: 4 kB / 0.987 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.2886, allocations: 123.9 kB / 0.9871 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2886, allocations: 0 / 0.9871 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002834/0.2889, allocations: 8 kB / 0.9871 GB, free: 4.918 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.0001024/0.289, allocations: 99.25 kB / 0.9872 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.2892, allocations: 23.94 kB / 0.9873 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.2892, allocations: 4 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.2892, allocations: 4 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.0001479/0.2893, allocations: 11.98 kB / 0.9873 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.2897, allocations: 306.8 kB / 0.9876 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2899, allocations: 0.6926 MB / 0.9882 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.29, allocations: 12.42 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.29, allocations: 11.44 kB / 0.9883 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.29, allocations: 0 / 0.9883 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of Templates: time 0.002225/0.2922, allocations: 488.5 kB / 0.9887 GB, free: 3.207 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)