Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 170.6 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007818/0.0007819, allocations: 90.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 11.95 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.242, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001221/0.2433, allocations: 0.5845 MB / 0.8973 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.2434, allocations: 39.78 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.2435, allocations: 0 / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.832e-05/0.2436, allocations: 11.92 kB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.449e-05/0.2437, allocations: 7.938 kB / 0.8974 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.481e-05/0.2437, allocations: 23.92 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.2438, allocations: 59.84 kB / 0.8975 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.244, allocations: 45.59 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.2441, allocations: 19.86 kB / 0.8975 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.2441, allocations: 31.73 kB / 0.8976 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2442, allocations: 0 / 0.8976 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.2442, allocations: 4 kB / 0.8976 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.2442, allocations: 3.938 kB / 0.8976 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.2443, allocations: 31.75 kB / 0.8976 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.2444, allocations: 51.86 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2444, allocations: 4 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2444, allocations: 0 / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2444, allocations: 0 / 0.8976 GB, free: 67.25 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.0004976/0.2449, allocations: 383.2 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.245, allocations: 8.031 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.2451, allocations: 16.75 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2453, allocations: 194.1 kB / 0.8982 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2454, allocations: 8.375 kB / 0.8982 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2454, allocations: 4.375 kB / 0.8982 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2455, allocations: 95.95 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2456, allocations: 192 / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2456, allocations: 7.938 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2456, allocations: 4 kB / 0.8983 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.2457, allocations: 39.92 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.2463, allocations: 452.4 kB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.883e-05/0.2464, allocations: 38.03 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.2465, allocations: 17.84 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2465, allocations: 3.984 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2465, allocations: 42.55 kB / 0.8989 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2465, allocations: 4 kB / 0.8989 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.2468, allocations: 61.48 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2469, allocations: 77.11 kB / 0.899 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2471, allocations: 166.2 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2471, allocations: 25.7 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.2472, allocations: 111.9 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2472, allocations: 11.92 kB / 0.8993 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.2472, allocations: 13.97 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2473, allocations: 318.8 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.2474, allocations: 7.984 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.2474, allocations: 21.72 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.2475, allocations: 29.72 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2475, allocations: 0 / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.605e-05/0.2476, allocations: 73.38 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2476, allocations: 4 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2476, allocations: 7.938 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.2476, allocations: 0 / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.2477, allocations: 4 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2478, allocations: 0 / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.2478, allocations: 11.94 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.2478, allocations: 0 / 0.8998 GB, free: 64.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.926e-05/0.2479, allocations: 117.8 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.248, allocations: 11.97 kB / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.248, allocations: 20.44 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.248, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.248, allocations: 4 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.248, allocations: 0 / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.2484, allocations: 482.7 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2484, allocations: 0 / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.2485, allocations: 64 / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2485, allocations: 8 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2485, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2485, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2485, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.38e-05/0.2486, allocations: 85.83 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2486, allocations: 85.02 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2486, allocations: 8.016 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.2487, allocations: 3.938 kB / 0.9006 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.2487, allocations: 3.938 kB / 0.9006 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2487, allocations: 4 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.2488, allocations: 124.9 kB / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2488, allocations: 0 / 0.9007 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002036/0.249, allocations: 8 kB / 0.9007 GB, free: 63.71 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 (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.0001076/0.2491, allocations: 99.25 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.2492, allocations: 23.98 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2492, allocations: 4 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.2492, allocations: 7.938 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2494, allocations: 7.938 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.2497, allocations: 233.8 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2498, allocations: 0.6926 MB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.2498, allocations: 11.44 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2498, allocations: 0 / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.001935/0.2518, allocations: 0.9154 MB / 0.9027 GB, free: 61.65 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)