Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.856/2.856, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001554/0.001554, allocations: 193.4 kB / 370.8 MB, free: 10.85 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.314/2.314, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 21.3 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001112/0.2217, allocations: 0.5365 MB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.2219, allocations: 39.8 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.2219, allocations: 4 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.222, allocations: 3.938 kB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.2221, allocations: 7.969 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.293e-05/0.2221, allocations: 12 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.2222, allocations: 43.89 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2224, allocations: 29.58 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.2224, allocations: 23.84 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.2225, allocations: 23.86 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2225, allocations: 0 / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.2225, allocations: 4 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2226, allocations: 15.88 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2226, allocations: 37.64 kB / 0.979 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.016e-05/0.2227, allocations: 60.08 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.2227, allocations: 0 / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2227, allocations: 0 / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2227, allocations: 0 / 0.979 GB, free: 27.52 MB / 0.6198 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.0003819/0.2231, allocations: 379 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2232, allocations: 8.031 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.2232, allocations: 7.906 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2234, allocations: 198.8 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2235, allocations: 8 kB / 0.9796 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2235, allocations: 4 kB / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2237, allocations: 93.09 kB / 0.9797 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2237, allocations: 3.938 kB / 0.9797 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2237, allocations: 4 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2237, allocations: 0 / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2239, allocations: 39.92 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.2244, allocations: 456.6 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.2245, allocations: 41.16 kB / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2245, allocations: 4 kB / 0.9802 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2246, allocations: 30.56 kB / 0.9802 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.2246, allocations: 0 / 0.9802 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.2248, allocations: 61.59 kB / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2248, allocations: 77.11 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.225, allocations: 168.2 kB / 0.9805 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2251, allocations: 25.95 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2251, allocations: 115.9 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.2251, allocations: 4 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2252, allocations: 4 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2252, allocations: 318.8 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.2253, allocations: 4 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-05/0.2253, allocations: 25.7 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.2254, allocations: 12 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2254, allocations: 0 / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.2255, allocations: 69.41 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2255, allocations: 7.938 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2255, allocations: 0 / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2256, allocations: 3.984 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.2257, allocations: 8 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2257, allocations: 0 / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.2257, allocations: 4 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2258, allocations: 0 / 0.9811 GB, free: 25.14 MB / 0.6198 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 6.914e-05/0.2258, allocations: 117.9 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.2259, allocations: 11.86 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.226, allocations: 16.55 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.226, allocations: 96 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.226, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.226, allocations: 3.984 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.2264, allocations: 486.7 kB / 0.9817 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2264, allocations: 4 kB / 0.9817 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.2265, allocations: 7.984 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2265, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2265, allocations: 0 / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2265, allocations: 7.938 kB / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2265, allocations: 0 / 0.9817 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.755e-05/0.2266, allocations: 91.64 kB / 0.9818 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.2267, allocations: 96.94 kB / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.2267, allocations: 0 / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.2268, allocations: 7.938 kB / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.2268, allocations: 0 / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2268, allocations: 0 / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001031/0.2269, allocations: 132.9 kB / 0.982 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2269, allocations: 0 / 0.982 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002671/0.2272, allocations: 16.03 kB / 0.9821 GB, free: 24.04 MB / 0.6198 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.0001101/0.2273, allocations: 99.19 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.888e-05/0.2274, allocations: 12 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2275, allocations: 4 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.2275, allocations: 4 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.2276, allocations: 7.953 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.228, allocations: 203.1 kB / 0.9824 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2282, allocations: 0.7043 MB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.2283, allocations: 8.422 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.2283, allocations: 11.44 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2283, allocations: 0 / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.002978/0.2313, allocations: 439.9 kB / 0.9835 GB, free: 22.5 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)