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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.724/1.724, allocations: 251.9 MB / 266.9 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.001005/0.001004, allocations: 173.8 kB / 326.5 MB, free: 2.281 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.74/1.74, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001069/0.001069, allocations: 101.7 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 11.41 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3277, allocations: 106.3 MB / 0.9002 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001157/0.3289, allocations: 0.568 MB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.3291, allocations: 41.09 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.3291, allocations: 0 / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.3292, allocations: 7.938 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3293, allocations: 11.92 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-05/0.3293, allocations: 15.98 kB / 0.9008 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.3294, allocations: 31.97 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3296, allocations: 41.55 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.3296, allocations: 19.86 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.3297, allocations: 27.8 kB / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3297, allocations: 0 / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.3297, allocations: 4 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3298, allocations: 3.938 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.3298, allocations: 41.64 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3299, allocations: 59.86 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3299, allocations: 0 / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.158e-06/0.3299, allocations: 0 / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.33, allocations: 0 / 0.901 GB, free: 63.04 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.0005364/0.3305, allocations: 367.4 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.3306, allocations: 8.031 kB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.3306, allocations: 42.55 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3307, allocations: 15.75 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.331, allocations: 202.9 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.331, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.331, allocations: 11.98 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3313, allocations: 97.73 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3313, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3313, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3313, allocations: 4 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/0.3314, allocations: 39.92 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.3321, allocations: 448.6 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3322, allocations: 41.19 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3322, allocations: 8.125 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3322, allocations: 30.56 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3322, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.3325, allocations: 61.44 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3325, allocations: 85.05 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3327, allocations: 166.2 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3327, allocations: 25.95 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.3328, allocations: 108 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/0.3328, allocations: 3.906 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.3328, allocations: 4 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.3329, allocations: 318.8 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.333, allocations: 8 kB / 0.903 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.333, allocations: 17.7 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.333, allocations: 12 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3331, allocations: 4 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.986e-05/0.3331, allocations: 65.48 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3332, allocations: 8 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3332, allocations: 0 / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3332, allocations: 0 / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.3333, allocations: 8 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3333, allocations: 0 / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.3334, allocations: 11.78 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3334, allocations: 8 kB / 0.9031 GB, free: 60.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.3335, allocations: 117.9 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3335, allocations: 15.8 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3336, allocations: 16.55 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3336, allocations: 0 / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3336, allocations: 0 / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3336, allocations: 0 / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3341, allocations: 486.8 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3341, allocations: 0 / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.3341, allocations: 4 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3341, allocations: 0 / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3341, allocations: 0 / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3341, allocations: 0 / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3341, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.3342, allocations: 103.6 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.3343, allocations: 88.92 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3343, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.3343, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3344, allocations: 4 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3344, allocations: 3.984 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.996e-05/0.3345, allocations: 124.9 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3345, allocations: 0 / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001885/0.3347, allocations: 8.031 kB / 0.9041 GB, free: 59.52 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 (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.0004744/0.3352, allocations: 0.6992 MB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3353, allocations: 27.97 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3353, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.3353, allocations: 4 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3354, allocations: 11.94 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3365, allocations: 0.7461 MB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3369, allocations: 0.7004 MB / 0.9062 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.919e-05/0.3369, allocations: 12.5 kB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.337, allocations: 27.42 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.337, allocations: 0 / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.3509, allocations: 1.576 MB / 0.9078 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.3512, allocations: 197.7 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.073, allocations: 0 / 0.908 GB, free: 55.52 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)