Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001464, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.949/1.949, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001447/0.001447, allocations: 68.69 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3017, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00245/0.3042, allocations: 0.8526 MB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.3043, allocations: 43.8 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3044, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.3045, allocations: 7.875 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.3046, allocations: 15.86 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.764e-05/0.3046, allocations: 19.97 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3047, allocations: 67.78 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3049, allocations: 49.38 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.305, allocations: 23.88 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.3051, allocations: 35.72 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3051, allocations: 8 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3051, allocations: 8 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.3051, allocations: 19.86 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.3052, allocations: 35.75 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3053, allocations: 87.56 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3053, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3053, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3053, allocations: 4 kB / 0.7854 GB, free: 11.46 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.0006019/0.3059, allocations: 387.1 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.306, allocations: 8.031 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.306, allocations: 12.75 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3063, allocations: 203.1 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3063, allocations: 8.375 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3063, allocations: 4.375 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3065, allocations: 98.61 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3065, allocations: 192 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3065, allocations: 7.938 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3065, allocations: 7.938 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.3066, allocations: 35.98 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3072, allocations: 444.5 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.3072, allocations: 37.28 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.3073, allocations: 21.83 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3073, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3073, allocations: 30.56 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3073, allocations: 7.938 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.3075, allocations: 57.55 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3076, allocations: 85.05 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3078, allocations: 169.5 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3078, allocations: 25.7 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3079, allocations: 111.9 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3079, allocations: 3.906 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.3079, allocations: 17.97 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.308, allocations: 326.8 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.3081, allocations: 4 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.3081, allocations: 17.72 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.3081, allocations: 29.72 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3082, allocations: 3.984 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.632e-05/0.3083, allocations: 61.55 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3083, allocations: 8 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3083, allocations: 11.81 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3083, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.3084, allocations: 8 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3084, allocations: 3.984 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3085, allocations: 7.906 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3085, allocations: 4 kB / 0.7875 GB, free: 8.973 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 9.003e-05/0.3086, allocations: 118.4 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3086, allocations: 11.97 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3087, allocations: 16.5 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3087, allocations: 4.078 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3087, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3087, allocations: 3.984 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.3091, allocations: 478.7 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3091, allocations: 0 / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.3092, allocations: 8.062 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3092, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3092, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3092, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3092, allocations: 7.984 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.266e-05/0.3093, allocations: 77.84 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.3093, allocations: 96.84 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3094, allocations: 4.031 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.3094, allocations: 4 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.3094, allocations: 4 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.3094, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3096, allocations: 126.1 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3096, allocations: 0 / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001956/0.3098, allocations: 8 kB / 0.7885 GB, free: 7.914 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.0001638/0.3099, allocations: 103.2 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3101, allocations: 23.94 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3101, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.3101, allocations: 4 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.3103, allocations: 11.94 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3107, allocations: 174.2 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.311, allocations: 0.7043 MB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.3111, allocations: 4.438 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3111, allocations: 15.38 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3111, allocations: 0 / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.002904/0.314, allocations: 493.5 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)