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.0008078/0.0008078, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009736/0.0009736, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.661/1.661, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005354/0.0005355, allocations: 16.72 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2478, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001085/0.2489, allocations: 0.5324 MB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.2491, allocations: 51.72 kB / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2492, allocations: 0 / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.2492, allocations: 15.86 kB / 0.7879 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.2493, allocations: 11.92 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.341e-05/0.2494, allocations: 11.98 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2495, allocations: 59.84 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2496, allocations: 29.58 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.2497, allocations: 23.86 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.2497, allocations: 23.8 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.2498, allocations: 4 kB / 0.788 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.2498, allocations: 0 / 0.788 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2498, allocations: 11.94 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2498, allocations: 37.64 kB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.387e-05/0.2499, allocations: 60.08 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2499, allocations: 0 / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2499, allocations: 3.938 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2499, allocations: 0 / 0.7881 GB, free: 11.07 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.0004191/0.2504, allocations: 379 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2504, allocations: 12.03 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2505, allocations: 7.906 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2507, allocations: 194.8 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2507, allocations: 8 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2507, allocations: 7.984 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2509, allocations: 87.39 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2509, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2509, allocations: 7.984 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2509, allocations: 0 / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.251, allocations: 39.92 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.2516, allocations: 444.5 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.2517, allocations: 53.23 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.2517, allocations: 18.91 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.2517, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2518, allocations: 38.56 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2518, allocations: 0 / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.252, allocations: 61.53 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.252, allocations: 77.11 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2522, allocations: 175.3 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2522, allocations: 25.7 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.2523, allocations: 111.9 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.2523, allocations: 3.938 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.2523, allocations: 0 / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2525, allocations: 323.1 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.2525, allocations: 12 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.2525, allocations: 21.7 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.2526, allocations: 8 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2526, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.2527, allocations: 65.41 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2527, allocations: 11.98 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2527, allocations: 64 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2527, allocations: 4 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.2528, allocations: 8 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2528, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.2529, allocations: 0 / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2529, allocations: 4 kB / 0.7902 GB, free: 8.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.253, allocations: 114.5 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.253, allocations: 15.8 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.253, allocations: 16.55 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.253, allocations: 0 / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2531, allocations: 4 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2531, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.2535, allocations: 482.7 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2535, allocations: 3.984 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.2535, allocations: 4 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2535, allocations: 0 / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2535, allocations: 0 / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2536, allocations: 4.062 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2536, allocations: 7.938 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.745e-05/0.2537, allocations: 77.86 kB / 0.7909 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.2537, allocations: 92.94 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2537, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.2538, allocations: 0 / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.2538, allocations: 11.97 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.2538, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.119e-05/0.2539, allocations: 127.9 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2539, allocations: 0 / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001829/0.2541, allocations: 8 kB / 0.7912 GB, free: 7.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.2542, allocations: 99.25 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.2543, allocations: 19.94 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2543, allocations: 4.125 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.2543, allocations: 8 kB / 0.7913 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.2545, allocations: 7.953 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.2549, allocations: 207.9 kB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2551, allocations: 0.6965 MB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.2552, allocations: 4.438 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.2552, allocations: 11.44 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2552, allocations: 0 / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.002425/0.2576, allocations: 462.9 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) Environment - environmentSimulation: