Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 107.1 kB / 15.99 MB, free: 5.891 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.001823/0.001823, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.517/1.517, allocations: 205.1 MB / 222.8 MB, free: 4.652 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.652/1.652, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001372/0.001372, allocations: 69.89 kB / 0.6717 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002285/0.2371, allocations: 0.8982 MB / 0.7844 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.2372, allocations: 47.72 kB / 0.7844 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.2373, allocations: 0 / 0.7844 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.2373, allocations: 3.938 kB / 0.7844 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.2375, allocations: 11.94 kB / 0.7845 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.23e-05/0.2375, allocations: 15.98 kB / 0.7845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2376, allocations: 71.78 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2378, allocations: 41.38 kB / 0.7846 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.2379, allocations: 27.86 kB / 0.7846 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.2379, allocations: 35.8 kB / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.238, allocations: 4 kB / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.238, allocations: 8 kB / 0.7847 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.238, allocations: 15.92 kB / 0.7847 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2381, allocations: 39.67 kB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.2382, allocations: 60.11 kB / 0.7848 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2382, allocations: 0 / 0.7848 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2382, allocations: 7.984 kB / 0.7848 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2382, allocations: 0 / 0.7848 GB, free: 12.6 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.0004294/0.2386, allocations: 395.2 kB / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2387, allocations: 12.03 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2387, allocations: 16.75 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2389, allocations: 192.2 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2389, allocations: 4.375 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2389, allocations: 8.375 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2391, allocations: 96.83 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2391, allocations: 4.188 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2391, allocations: 7.875 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2391, allocations: 0 / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.2392, allocations: 39.92 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.2398, allocations: 453.6 kB / 0.7859 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.2398, allocations: 45.23 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.2399, allocations: 13.78 kB / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2399, allocations: 0 / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2399, allocations: 34.56 kB / 0.786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2399, allocations: 4 kB / 0.786 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.2401, allocations: 57.48 kB / 0.7861 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2401, allocations: 77.11 kB / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2403, allocations: 175.3 kB / 0.7863 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2403, allocations: 29.7 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.2404, allocations: 111.9 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-06/0.2404, allocations: 7.844 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.2404, allocations: 17.97 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2406, allocations: 326.8 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.2406, allocations: 4 kB / 0.7868 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.2406, allocations: 17.72 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.2407, allocations: 33.64 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2407, allocations: 0 / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.882e-05/0.2408, allocations: 61.55 kB / 0.7869 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2408, allocations: 4 kB / 0.7869 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2408, allocations: 7.938 kB / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2408, allocations: 0 / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.2409, allocations: 7.984 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2409, allocations: 0 / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.241, allocations: 11.91 kB / 0.7869 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.241, allocations: 0 / 0.7869 GB, free: 10.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.2411, allocations: 113.8 kB / 0.7871 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2411, allocations: 11.97 kB / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2411, allocations: 20.58 kB / 0.7871 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2411, allocations: 3.984 kB / 0.7871 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2412, allocations: 4 kB / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2412, allocations: 0 / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.2416, allocations: 482.6 kB / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2416, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.2416, allocations: 8.062 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2416, allocations: 0 / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2416, allocations: 0 / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2416, allocations: 3.984 kB / 0.7876 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2417, allocations: 3.938 kB / 0.7876 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.661e-05/0.2417, allocations: 85.84 kB / 0.7876 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.2418, allocations: 92.91 kB / 0.7877 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2418, allocations: 4.031 kB / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.2419, allocations: 0 / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.2419, allocations: 0 / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2419, allocations: 4 kB / 0.7877 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.77e-05/0.242, allocations: 124 kB / 0.7879 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.242, allocations: 0 / 0.7879 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001823/0.2422, allocations: 8 kB / 0.7879 GB, free: 9.039 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 (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.0001129/0.2423, allocations: 103.2 kB / 0.788 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.2424, allocations: 27.94 kB / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2424, allocations: 0 / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.2424, allocations: 4 kB / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.2426, allocations: 15.88 kB / 0.788 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.2429, allocations: 224.1 kB / 0.7882 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2432, allocations: 0.6963 MB / 0.7889 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2432, allocations: 11.44 kB / 0.7889 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2432, allocations: 0 / 0.7889 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.002131/0.2454, allocations: 0.9261 MB / 0.7898 GB, free: 6.965 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)