Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, 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.001244/0.001245, allocations: 179.9 kB / 326.5 MB, free: 2.66 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.863/1.863, 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.0008703/0.0008703, allocations: 93.3 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 14.84 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2454, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001083/0.2466, allocations: 0.5962 MB / 0.8973 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000142/0.2467, allocations: 39.78 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.2468, allocations: 0 / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.2469, allocations: 7.875 kB / 0.8974 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.247, allocations: 11.92 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.579e-05/0.247, allocations: 19.98 kB / 0.8974 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2472, allocations: 63.78 kB / 0.8975 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.2473, allocations: 41.61 kB / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.2474, allocations: 19.88 kB / 0.8975 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.2475, allocations: 19.8 kB / 0.8975 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2475, allocations: 0 / 0.8975 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.2475, allocations: 8 kB / 0.8975 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.2475, allocations: 15.91 kB / 0.8976 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.2476, allocations: 31.75 kB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.841e-05/0.2477, allocations: 51.88 kB / 0.8976 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2477, allocations: 0 / 0.8976 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2477, allocations: 0 / 0.8976 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2477, allocations: 3.938 kB / 0.8976 GB, free: 67.22 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.0003638/0.2481, allocations: 375.2 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2481, allocations: 16.02 kB / 0.898 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.2482, allocations: 16.75 kB / 0.898 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2484, allocations: 193.9 kB / 0.8982 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2484, allocations: 4.375 kB / 0.8982 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2484, allocations: 8.375 kB / 0.8982 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2485, allocations: 95.88 kB / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2486, allocations: 192 / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2486, allocations: 3.938 kB / 0.8983 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2486, allocations: 7.938 kB / 0.8983 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.2487, allocations: 39.98 kB / 0.8984 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.2492, allocations: 448.5 kB / 0.8988 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.2492, allocations: 41.97 kB / 0.8988 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.2493, allocations: 17.75 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2493, allocations: 4.062 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.2493, allocations: 30.56 kB / 0.8989 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2493, allocations: 0 / 0.8989 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.2495, allocations: 61.47 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2495, allocations: 81.36 kB / 0.899 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2497, allocations: 170.2 kB / 0.8992 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.2497, allocations: 25.7 kB / 0.8992 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.2497, allocations: 115.9 kB / 0.8993 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.2498, allocations: 0 / 0.8993 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.2498, allocations: 9.719 kB / 0.8993 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.2498, allocations: 326.8 kB / 0.8996 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.2499, allocations: 8 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.2499, allocations: 25.7 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.2499, allocations: 29.66 kB / 0.8997 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2499, allocations: 4 kB / 0.8997 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.764e-05/0.25, allocations: 57.52 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2501, allocations: 14.8 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2501, allocations: 3.938 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2501, allocations: 3.938 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.2502, allocations: 8.156 kB / 0.8998 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2502, allocations: 4 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.2502, allocations: 7.938 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2502, allocations: 3.984 kB / 0.8998 GB, free: 64.74 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 5.898e-05/0.2503, allocations: 113.8 kB / 0.8999 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2503, allocations: 11.91 kB / 0.8999 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.2504, allocations: 16.48 kB / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2504, allocations: 4 kB / 0.8999 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2504, allocations: 4 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2504, allocations: 0 / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.2507, allocations: 482.7 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2507, allocations: 3.938 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2507, allocations: 7.984 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2507, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2508, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2508, allocations: 0 / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2508, allocations: 4.062 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.2508, allocations: 81.78 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.2509, allocations: 93 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2509, allocations: 0 / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.2509, allocations: 0 / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.251, allocations: 4 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.251, allocations: 4.031 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.251, allocations: 128.9 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.251, allocations: 4 kB / 0.9007 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002139/0.2513, allocations: 4 kB / 0.9007 GB, free: 63.69 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.0001219/0.2514, allocations: 99.25 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.2515, allocations: 19.94 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2515, allocations: 0 / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.2515, allocations: 12.12 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2517, allocations: 13.48 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.252, allocations: 221.8 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2522, allocations: 0.7042 MB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.2522, allocations: 11.44 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2522, allocations: 0 / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.002331/0.2545, allocations: 0.9128 MB / 0.9027 GB, free: 61.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)