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/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_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 292.3 MB / 308.1 MB, free: 4.34 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.001762/0.001762, allocations: 180.2 kB / 376.9 MB, free: 1.828 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.109/2.109, allocations: 205 MB / 0.6354 GB, free: 9.785 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.001352/0.001352, allocations: 101 kB / 0.748 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.31, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002676/0.3127, allocations: 0.9044 MB / 0.9831 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.3129, allocations: 43.78 kB / 0.9832 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.313, allocations: 4 kB / 0.9832 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.313, allocations: 7.922 kB / 0.9832 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/0.3132, allocations: 3.938 kB / 0.9832 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.214e-05/0.3132, allocations: 16 kB / 0.9832 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3134, allocations: 67.78 kB / 0.9832 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3136, allocations: 45.36 kB / 0.9833 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.3136, allocations: 19.88 kB / 0.9833 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3137, allocations: 35.78 kB / 0.9833 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3137, allocations: 8 kB / 0.9834 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.3137, allocations: 4 kB / 0.9834 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.3138, allocations: 15.92 kB / 0.9834 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.3138, allocations: 31.75 kB / 0.9834 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3139, allocations: 79.91 kB / 0.9835 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3139, allocations: 4 kB / 0.9835 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.314, allocations: 3.938 kB / 0.9835 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.314, allocations: 0 / 0.9835 GB, free: 9.09 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.0005392/0.3145, allocations: 395.1 kB / 0.9839 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3146, allocations: 8.031 kB / 0.9839 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.3146, allocations: 12.83 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3149, allocations: 192.2 kB / 0.9841 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3149, allocations: 8.375 kB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.315, allocations: 4.375 kB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3152, allocations: 99.8 kB / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3152, allocations: 192 / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3152, allocations: 7.938 kB / 0.9842 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3152, allocations: 4 kB / 0.9842 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.3153, allocations: 43.92 kB / 0.9842 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.3161, allocations: 440.7 kB / 0.9846 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.3161, allocations: 37.22 kB / 0.9847 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.3162, allocations: 25.8 kB / 0.9847 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3162, allocations: 0 / 0.9847 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3162, allocations: 30.56 kB / 0.9847 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3163, allocations: 0 / 0.9847 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002727/0.3165, allocations: 69.55 kB / 0.9848 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3166, allocations: 81.14 kB / 0.9849 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3168, allocations: 171.3 kB / 0.985 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3168, allocations: 29.7 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.3169, allocations: 108 kB / 0.9852 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.3169, allocations: 3.906 kB / 0.9852 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.317, allocations: 17.72 kB / 0.9852 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3171, allocations: 322.8 kB / 0.9855 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3172, allocations: 12 kB / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.3172, allocations: 13.72 kB / 0.9855 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.3172, allocations: 29.66 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3172, allocations: 3.984 kB / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.627e-05/0.3174, allocations: 61.55 kB / 0.9856 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3174, allocations: 8 kB / 0.9856 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3174, allocations: 12 kB / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3174, allocations: 0 / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.3175, allocations: 7.938 kB / 0.9856 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3175, allocations: 7.984 kB / 0.9857 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.3176, allocations: 3.906 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3176, allocations: 3.984 kB / 0.9857 GB, free: 6.594 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.867e-05/0.3176, allocations: 113.8 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3177, allocations: 11.91 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.3177, allocations: 12.5 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3177, allocations: 8 kB / 0.9858 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3178, allocations: 0 / 0.9858 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3178, allocations: 3.984 kB / 0.9858 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.3182, allocations: 478.7 kB / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3182, allocations: 0 / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.3182, allocations: 4 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3182, allocations: 0 / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3183, allocations: 4.062 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3183, allocations: 0 / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3183, allocations: 3.984 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.3187, allocations: 0.6441 MB / 0.9869 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3188, allocations: 96.94 kB / 0.987 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3188, allocations: 4.031 kB / 0.987 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.3188, allocations: 0 / 0.987 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.3188, allocations: 7.938 kB / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3188, allocations: 96 / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001165/0.319, allocations: 127.9 kB / 0.9871 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.319, allocations: 0 / 0.9871 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003054/0.3193, allocations: 12 kB / 0.9871 GB, free: 4.93 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.0001564/0.3195, allocations: 99.19 kB / 0.9872 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3196, allocations: 20 kB / 0.9873 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3196, allocations: 0 / 0.9873 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.3196, allocations: 7.938 kB / 0.9873 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.3198, allocations: 11.98 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.3202, allocations: 306.8 kB / 0.9876 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3206, allocations: 0.6965 MB / 0.9882 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.3206, allocations: 12.42 kB / 0.9883 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3206, allocations: 11.44 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.3207, allocations: 0 / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.002521/0.3232, allocations: 480.5 kB / 0.9887 GB, free: 3.227 MB / 0.7136 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)