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.001499/0.001499, allocations: 104.2 kB / 16.36 MB, free: 6.305 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.001536/0.001536, allocations: 189.5 kB / 17.29 MB, free: 5.875 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.734/1.734, allocations: 292.3 MB / 0.5496 GB, free: 17.75 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.001425/0.001425, allocations: 71.75 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2295, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002376/0.2319, allocations: 0.852 MB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.2321, allocations: 47.78 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.2322, allocations: 4 kB / 0.7857 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/0.2322, allocations: 11.86 kB / 0.7857 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.2323, allocations: 7.875 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.399e-05/0.2324, allocations: 19.98 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2325, allocations: 67.77 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2326, allocations: 41.39 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.2327, allocations: 27.86 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.2328, allocations: 31.8 kB / 0.7859 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2328, allocations: 7.984 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.2328, allocations: 8 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.2328, allocations: 19.92 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.2329, allocations: 35.73 kB / 0.7859 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.233, allocations: 87.56 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.233, allocations: 4 kB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.694e-06/0.233, allocations: 3.938 kB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.233, allocations: 4 kB / 0.786 GB, free: 1.906 MB / 0.6544 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.0004508/0.2335, allocations: 383.1 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2335, allocations: 12.03 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.2336, allocations: 12.75 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2338, allocations: 192.2 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2338, allocations: 8.375 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2339, allocations: 12.38 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.234, allocations: 90.59 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.234, allocations: 192 / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2341, allocations: 11.94 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2341, allocations: 0 / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.2342, allocations: 39.92 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.2347, allocations: 448.5 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.2348, allocations: 37.34 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.2348, allocations: 17.78 kB / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.2348, allocations: 7.938 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2349, allocations: 34.56 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.2349, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.2351, allocations: 65.47 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.2351, allocations: 77.11 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2353, allocations: 165.5 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2353, allocations: 25.7 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3651/0.6005, allocations: 110.5 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.6005, allocations: 9.25 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.6006, allocations: 19.25 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.6006, allocations: 319.7 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.6007, allocations: 6.5 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.6007, allocations: 25.28 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.6008, allocations: 23.78 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6008, allocations: 3.438 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.6009, allocations: 62.61 kB / 0.7881 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6009, allocations: 5.469 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6009, allocations: 7.406 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.601, allocations: 0 / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.601, allocations: 9.844 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.6011, allocations: 2.25 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.6011, allocations: 7.781 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.6011, allocations: 1.75 kB / 0.7882 GB, free: 48.19 MB / 0.6544 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 5.745e-05/0.6012, allocations: 120.4 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.6012, allocations: 10.97 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.6013, allocations: 13.28 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6013, allocations: 7 kB / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6013, allocations: 0 / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6013, allocations: 0 / 0.7883 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.6016, allocations: 478.6 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6016, allocations: 6.656 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.6017, allocations: 3.781 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6017, allocations: 0 / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6017, allocations: 0.6562 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6017, allocations: 3.625 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6017, allocations: 3.375 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/0.6018, allocations: 80.12 kB / 0.7889 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.6018, allocations: 95.67 kB / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.6018, allocations: 2.844 kB / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.594e-05/0.6019, allocations: 0 / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.6019, allocations: 2.156 kB / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.6019, allocations: 3 kB / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.602, allocations: 132.3 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.602, allocations: 1.719 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002215/0.6022, allocations: 8 kB / 0.7891 GB, free: 47.36 MB / 0.6544 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 9.912e-05/0.6023, allocations: 98.25 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.6024, allocations: 23.64 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6024, allocations: 1.844 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.6024, allocations: 9.625 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.6026, allocations: 11.69 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.6029, allocations: 196.3 kB / 0.7894 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.566e-05/0.603, allocations: 0.6947 MB / 0.7901 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.603, allocations: 13.19 kB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.603, allocations: 2.188 kB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.002045/0.6051, allocations: 0.9284 MB / 0.791 GB, free: 46.4 MB / 0.6544 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)