Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.532/2.532, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.00141, allocations: 189.5 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.708/2.708, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008929/0.0008926, allocations: 94.33 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006705/0.0006707, allocations: 11.53 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2258, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00112/0.2269, allocations: 0.5487 MB / 0.8996 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001371/0.2271, allocations: 52.84 kB / 0.8996 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.2272, allocations: 3.938 kB / 0.8996 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.2272, allocations: 3.938 kB / 0.8996 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.2273, allocations: 7.922 kB / 0.8996 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.688e-05/0.2274, allocations: 15.98 kB / 0.8997 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2275, allocations: 67.83 kB / 0.8997 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2277, allocations: 33.58 kB / 0.8998 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.2278, allocations: 19.86 kB / 0.8998 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.2279, allocations: 23.8 kB / 0.8998 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2279, allocations: 4 kB / 0.8998 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2279, allocations: 4 kB / 0.8998 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.228, allocations: 11.94 kB / 0.8998 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.228, allocations: 33.64 kB / 0.8998 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.2281, allocations: 55.86 kB / 0.8999 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2281, allocations: 0 / 0.8999 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2281, allocations: 0 / 0.8999 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2281, allocations: 4 kB / 0.8999 GB, free: 64.48 MB / 0.6042 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.0004546/0.2286, allocations: 375.5 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2287, allocations: 16.02 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.2287, allocations: 12.84 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2289, allocations: 192.2 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.229, allocations: 4.375 kB / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.229, allocations: 12.31 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2292, allocations: 91.94 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2292, allocations: 3.938 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2292, allocations: 4 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2293, allocations: 8 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2294, allocations: 39.92 kB / 0.9006 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.23, allocations: 444.6 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.926e-05/0.2301, allocations: 45.19 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.2301, allocations: 17.84 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.2301, allocations: 0 / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2302, allocations: 34.56 kB / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.2302, allocations: 3.984 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.2304, allocations: 61.72 kB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2305, allocations: 85.11 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.2306, allocations: 167.9 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2307, allocations: 29.7 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2307, allocations: 104 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.2307, allocations: 3.906 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2308, allocations: 3.938 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.2308, allocations: 326.8 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.2309, allocations: 8 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.2309, allocations: 29.64 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.231, allocations: 4 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.231, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.2311, allocations: 57.61 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2311, allocations: 7.938 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2312, allocations: 4 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2312, allocations: 3.938 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2313, allocations: 12.05 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2313, allocations: 0 / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.2314, allocations: 11.84 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2314, allocations: 4 kB / 0.902 GB, free: 62.05 MB / 0.6042 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 7.382e-05/0.2315, allocations: 109.8 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.2315, allocations: 15.84 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2316, allocations: 12.55 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2316, allocations: 3.938 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2316, allocations: 4 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2316, allocations: 4 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2321, allocations: 478.8 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2321, allocations: 0 / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.2321, allocations: 0 / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2321, allocations: 4 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.2322, allocations: 3.984 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2322, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2322, allocations: 64 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.2323, allocations: 89.78 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.2324, allocations: 89 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2324, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.2324, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.2325, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2325, allocations: 4.031 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2326, allocations: 130.8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2326, allocations: 0 / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002349/0.2328, allocations: 11.91 kB / 0.903 GB, free: 61 MB / 0.6042 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.0001147/0.233, allocations: 100.1 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2331, allocations: 19.94 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2331, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.2331, allocations: 12.12 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2333, allocations: 11.94 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.2338, allocations: 202 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2339, allocations: 0.6926 MB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.234, allocations: 12.36 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.234, allocations: 11.44 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.234, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.003251/0.2373, allocations: 451.9 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)