Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001844/0.001844, allocations: 194.5 kB / 17.29 MB, free: 5.516 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.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.878/1.878, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001655/0.001656, allocations: 71.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.269, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002713/0.2718, allocations: 0.8493 MB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.272, allocations: 43.78 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.2721, allocations: 0 / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.259e-05/0.2722, allocations: 11.88 kB / 0.7857 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.2723, allocations: 15.84 kB / 0.7857 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.822e-05/0.2724, allocations: 23.92 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2725, allocations: 63.84 kB / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.2727, allocations: 45.31 kB / 0.7858 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.2728, allocations: 27.88 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.2729, allocations: 31.84 kB / 0.7859 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.273, allocations: 8 kB / 0.7859 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.273, allocations: 7.938 kB / 0.7859 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.273, allocations: 15.98 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.2731, allocations: 39.69 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2733, allocations: 87.56 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2733, allocations: 3.984 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2733, allocations: 0 / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2733, allocations: 0 / 0.786 GB, free: 1.93 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.0005836/0.2739, allocations: 387.2 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.274, allocations: 8.031 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.274, allocations: 12.75 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2743, allocations: 200.1 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2744, allocations: 8.375 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2744, allocations: 8.312 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.2746, allocations: 91.95 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2746, allocations: 4.188 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2746, allocations: 7.938 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2747, allocations: 4 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.2748, allocations: 39.92 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.2755, allocations: 440.5 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.2755, allocations: 45.33 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.2756, allocations: 17.78 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2756, allocations: 0 / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2756, allocations: 30.56 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2756, allocations: 0 / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002529/0.2759, allocations: 61.7 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.276, allocations: 81.14 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2762, allocations: 173.5 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2762, allocations: 29.64 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3718/0.648, allocations: 106.7 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.6481, allocations: 5.094 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.6481, allocations: 16.25 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.6482, allocations: 319.8 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.6482, allocations: 8.656 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.6483, allocations: 25.17 kB / 0.788 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.6483, allocations: 26.59 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6483, allocations: 3.719 kB / 0.7881 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.6485, allocations: 60.64 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6485, allocations: 5.25 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6485, allocations: 3.75 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.6486, allocations: 1.219 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.6487, allocations: 8.625 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6487, allocations: 2.203 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.6488, allocations: 10.12 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.6488, allocations: 4.125 kB / 0.7882 GB, free: 48.23 MB / 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 7.747e-05/0.6488, allocations: 120.9 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.6489, allocations: 8.219 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.649, allocations: 17.27 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.649, allocations: 3.938 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.649, allocations: 0 / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.649, allocations: 2.625 kB / 0.7883 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.6493, allocations: 472.4 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6494, allocations: 3.938 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.6494, allocations: 6.156 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6494, allocations: 6.172 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6494, allocations: 2.688 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6494, allocations: 0.8125 kB / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6494, allocations: 0 / 0.7888 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.6495, allocations: 83.33 kB / 0.7889 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.6496, allocations: 95.14 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.6496, allocations: 3.562 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.6496, allocations: 0 / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.6497, allocations: 12.98 kB / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.6497, allocations: 0 / 0.789 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.264e-05/0.6498, allocations: 129.6 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6498, allocations: 0 / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001954/0.65, allocations: 9.188 kB / 0.7891 GB, free: 47.39 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 0.0001067/0.6501, allocations: 101 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.6502, allocations: 15.34 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6502, allocations: 2 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.6502, allocations: 11.22 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.6504, allocations: 9.188 kB / 0.7892 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.6507, allocations: 170.3 kB / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6508, allocations: 0.6947 MB / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.6508, allocations: 12.12 kB / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.6509, allocations: 10.06 kB / 0.7901 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6509, allocations: 0 / 0.7901 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002318/0.6532, allocations: 493.8 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)