Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.805/1.805, allocations: 288.4 MB / 303.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006995/0.0006995, allocations: 98.91 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2351, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009336/0.236, allocations: 0.5251 MB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.2362, allocations: 51.77 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.2362, allocations: 0 / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.2363, allocations: 3.938 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.2364, allocations: 3.938 kB / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.196e-05/0.2364, allocations: 15.98 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.2365, allocations: 59.84 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.2366, allocations: 41.5 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.2367, allocations: 15.86 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.2368, allocations: 27.8 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2368, allocations: 0 / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2368, allocations: 4 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2368, allocations: 15.92 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.2368, allocations: 37.64 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.215e-05/0.2369, allocations: 56.09 kB / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2369, allocations: 0 / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2369, allocations: 0 / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.237, allocations: 0 / 0.9805 GB, free: 26.69 MB / 0.6198 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.0003769/0.2373, allocations: 380.5 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2374, allocations: 12.02 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.2374, allocations: 42.55 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.2375, allocations: 11.91 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2376, allocations: 202.8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2377, allocations: 8 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2377, allocations: 4 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2378, allocations: 92.78 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.2378, allocations: 3.938 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2379, allocations: 8 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2379, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.238, allocations: 43.92 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.2384, allocations: 440.5 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.2385, allocations: 49.3 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.2385, allocations: 13.78 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2385, allocations: 4 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2385, allocations: 30.56 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2386, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.2387, allocations: 57.53 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2388, allocations: 85.36 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2389, allocations: 165.9 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.2389, allocations: 25.7 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.239, allocations: 115.8 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/0.239, allocations: 4 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.239, allocations: 3.938 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.2391, allocations: 318.8 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2391, allocations: 8 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.2391, allocations: 29.7 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.2391, allocations: 8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2391, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.158e-05/0.2392, allocations: 65.41 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2392, allocations: 7.984 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2392, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2393, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.2393, allocations: 8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2393, allocations: 4.062 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.2394, allocations: 4 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2394, allocations: 4 kB / 0.9826 GB, free: 24.22 MB / 0.6198 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 5.872e-05/0.2395, allocations: 113.8 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.2395, allocations: 11.86 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.2395, allocations: 16.55 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2395, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2396, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2396, allocations: 96 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.2398, allocations: 490.6 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2398, allocations: 7.969 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.2399, allocations: 4 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2399, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2399, allocations: 3.938 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2399, allocations: 4 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2399, allocations: 7.922 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.215e-05/0.24, allocations: 81.92 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.24, allocations: 89 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.24, allocations: 0 / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.2401, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.2401, allocations: 0 / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2401, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.897e-05/0.2402, allocations: 140.9 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2402, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001671/0.2403, allocations: 8 kB / 0.9836 GB, free: 23.14 MB / 0.6198 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.0002519/0.2406, allocations: 0.6247 MB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.2407, allocations: 16.03 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2407, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.2407, allocations: 15.94 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2409, allocations: 4 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.2415, allocations: 0.5824 MB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2417, allocations: 0.7004 MB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.2417, allocations: 4.438 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.2418, allocations: 27.42 kB / 0.9855 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2418, allocations: 0 / 0.9855 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.2536, allocations: 1.602 MB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.2538, allocations: 209.8 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.709, allocations: 0 / 0.9873 GB, free: 19.38 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)