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.0009739/0.0009739, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001258/0.001258, allocations: 177.3 kB / 15.94 MB, free: 228 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.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.701/1.701, allocations: 292.5 MB / 0.5497 GB, free: 14.59 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.0004768/0.0004768, allocations: 18.22 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001084/0.2375, allocations: 0.548 MB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.2376, allocations: 39.8 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.2377, allocations: 4 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.2377, allocations: 11.86 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.2378, allocations: 3.984 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.478e-05/0.2378, allocations: 19.92 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.2379, allocations: 31.97 kB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2381, allocations: 41.55 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.2381, allocations: 23.81 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.2382, allocations: 23.8 kB / 0.7878 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2382, allocations: 4 kB / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.2382, allocations: 0 / 0.7878 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.2383, allocations: 15.91 kB / 0.7879 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2383, allocations: 33.7 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.481e-05/0.2384, allocations: 60.09 kB / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2384, allocations: 0 / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2384, allocations: 7.938 kB / 0.788 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2384, allocations: 0 / 0.788 GB, free: 11.08 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.0004543/0.2388, allocations: 367 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2389, allocations: 8.031 kB / 0.7883 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2389, allocations: 19.91 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2391, allocations: 201.6 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2392, allocations: 4 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2392, allocations: 12 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2393, allocations: 91.33 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2394, allocations: 0 / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2394, allocations: 3.984 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2394, allocations: 4 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.2395, allocations: 35.98 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.24, allocations: 449.8 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.2401, allocations: 41.11 kB / 0.7891 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2401, allocations: 96 / 0.7891 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2401, allocations: 42.62 kB / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2401, allocations: 0 / 0.7892 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.2403, allocations: 53.55 kB / 0.7892 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2403, allocations: 81.11 kB / 0.7893 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2405, allocations: 171.3 kB / 0.7895 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2405, allocations: 25.7 kB / 0.7895 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.2406, allocations: 111.9 kB / 0.7896 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.2406, allocations: 4.25 kB / 0.7896 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.2406, allocations: 0 / 0.7896 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2408, allocations: 322.8 kB / 0.7899 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.2408, allocations: 11.94 kB / 0.7899 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.2408, allocations: 21.66 kB / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.2409, allocations: 8 kB / 0.79 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2409, allocations: 0 / 0.79 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.965e-05/0.241, allocations: 73.39 kB / 0.79 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.241, allocations: 4 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.241, allocations: 4 kB / 0.79 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.241, allocations: 0 / 0.79 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.2411, allocations: 4 kB / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2411, allocations: 0 / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.2411, allocations: 8 kB / 0.79 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2411, allocations: 0 / 0.79 GB, free: 8.699 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.255e-05/0.2412, allocations: 121.8 kB / 0.7902 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.2413, allocations: 15.92 kB / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.2413, allocations: 12.56 kB / 0.7902 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2413, allocations: 4 kB / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2413, allocations: 0 / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2413, allocations: 0 / 0.7902 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.2417, allocations: 482.7 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2417, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.2417, allocations: 8.062 kB / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2418, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2418, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2418, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2418, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.2419, allocations: 99.66 kB / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.2419, allocations: 101 kB / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2419, allocations: 0 / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.242, allocations: 4 kB / 0.7909 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.242, allocations: 3.938 kB / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.242, allocations: 8 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.75e-05/0.2421, allocations: 120 kB / 0.791 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2421, allocations: 0 / 0.791 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000175/0.2423, allocations: 8 kB / 0.791 GB, free: 7.613 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.000112/0.2424, allocations: 103.2 kB / 0.7911 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.2425, allocations: 19.98 kB / 0.7911 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2425, allocations: 0 / 0.7911 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.2425, allocations: 15.88 kB / 0.7911 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.2426, allocations: 11.08 kB / 0.7911 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2429, allocations: 200.2 kB / 0.7913 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2432, allocations: 0.7004 MB / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.2433, allocations: 12.38 kB / 0.792 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.2433, allocations: 11.44 kB / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2433, allocations: 0 / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.002518/0.2458, allocations: 435.9 kB / 0.7924 GB, free: 6.062 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: