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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.626/1.626, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001812/0.001812, allocations: 181 kB / 371.8 MB, free: 10.28 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.501/1.501, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008551/0.0008552, allocations: 98.86 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004549, allocations: 12.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001323/0.2791, allocations: 0.5252 MB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.2793, allocations: 47.72 kB / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.2794, allocations: 4 kB / 0.98 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.2794, allocations: 7.922 kB / 0.9801 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.2795, allocations: 3.984 kB / 0.9801 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.142e-05/0.2796, allocations: 15.98 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2797, allocations: 39.91 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2799, allocations: 33.56 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.28, allocations: 23.8 kB / 0.9802 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.2801, allocations: 23.86 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2801, allocations: 0 / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2801, allocations: 4 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.2802, allocations: 11.92 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.2802, allocations: 37.64 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2804, allocations: 64.08 kB / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2804, allocations: 0 / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2804, allocations: 0 / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2804, allocations: 0 / 0.9803 GB, free: 26.76 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.0005225/0.2809, allocations: 375 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.281, allocations: 12.02 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.2811, allocations: 42.55 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.2811, allocations: 7.906 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2814, allocations: 194.8 kB / 0.9809 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2814, allocations: 15.98 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.2814, allocations: 4 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.2817, allocations: 91.33 kB / 0.981 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2817, allocations: 0 / 0.981 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2817, allocations: 4 kB / 0.981 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2817, allocations: 7.984 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.2818, allocations: 35.98 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.2825, allocations: 448.5 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.2825, allocations: 41.11 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2826, allocations: 128 / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2826, allocations: 38.66 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2826, allocations: 7.875 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002391/0.2829, allocations: 57.59 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.2829, allocations: 81.05 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2831, allocations: 165.2 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2831, allocations: 25.7 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2832, allocations: 112.1 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.2832, allocations: 8 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.2832, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.2833, allocations: 326.8 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.2833, allocations: 7.938 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.2834, allocations: 21.7 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.2834, allocations: 12 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2834, allocations: 0 / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001168/0.2835, allocations: 69.41 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2836, allocations: 8 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2836, allocations: 3.984 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2836, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.2837, allocations: 8 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2837, allocations: 7.984 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.2838, allocations: 0 / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2838, allocations: 4 kB / 0.9824 GB, free: 24.3 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 8.206e-05/0.2839, allocations: 117.9 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.284, allocations: 11.86 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.284, allocations: 16.55 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.284, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.284, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2841, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.2845, allocations: 482.6 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2845, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.2846, allocations: 12.05 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2846, allocations: 3.938 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.2846, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2846, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2846, allocations: 4 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.2848, allocations: 91.58 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.2848, allocations: 93 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.2848, allocations: 0 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.2849, allocations: 0 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.2849, allocations: 4 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2849, allocations: 0 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001093/0.2851, allocations: 133.6 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/0.2851, allocations: 0 / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003339/0.2854, allocations: 11.94 kB / 0.9834 GB, free: 23.23 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.0003308/0.2858, allocations: 0.707 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.2859, allocations: 15.94 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2859, allocations: 4.094 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.2859, allocations: 16 kB / 0.9841 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.0001733/0.2861, allocations: 4 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2872, allocations: 0.7286 MB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2874, allocations: 0.7004 MB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.2874, allocations: 12.42 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.2875, allocations: 27.42 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2875, allocations: 0 / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.3018, allocations: 1.59 MB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.302, allocations: 212.2 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.874, allocations: 0 / 0.9873 GB, free: 19.24 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)