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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.703/1.703, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001095/0.001095, allocations: 179.5 kB / 326.5 MB, free: 2.238 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.954/1.954, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008797/0.0008793, allocations: 94.67 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004993, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3101, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001185/0.3114, allocations: 0.5641 MB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.3115, allocations: 41.05 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.3116, allocations: 4 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.3116, allocations: 7.922 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.3117, allocations: 7.984 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.137e-05/0.3118, allocations: 15.98 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.35e-05/0.3119, allocations: 35.91 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.312, allocations: 41.55 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.3121, allocations: 19.88 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3121, allocations: 19.86 kB / 0.9009 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3122, allocations: 0 / 0.9009 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.3122, allocations: 4 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.3122, allocations: 11.91 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.3122, allocations: 37.64 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.3123, allocations: 59.88 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3123, allocations: 0 / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3123, allocations: 0 / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3124, allocations: 0 / 0.901 GB, free: 62.94 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.0003823/0.3127, allocations: 367.4 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3128, allocations: 8.031 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.3128, allocations: 42.55 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3129, allocations: 15.75 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3131, allocations: 208.1 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3131, allocations: 4 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3131, allocations: 11.98 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3133, allocations: 95.28 kB / 0.9017 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3133, allocations: 3.938 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3133, allocations: 4 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3133, allocations: 0 / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.3134, allocations: 39.92 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.3139, allocations: 448.8 kB / 0.9022 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.92e-05/0.314, allocations: 41.22 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.314, allocations: 4 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.314, allocations: 34.56 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.314, allocations: 0 / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000191/0.3142, allocations: 61.44 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3142, allocations: 85.05 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3144, allocations: 166.2 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3144, allocations: 25.7 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3144, allocations: 108.3 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.3145, allocations: 7.906 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.3145, allocations: 0 / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.3145, allocations: 318.8 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3146, allocations: 8 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.3146, allocations: 17.7 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.3146, allocations: 12 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3146, allocations: 4 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.446e-05/0.3147, allocations: 65.5 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3147, allocations: 4 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3147, allocations: 0 / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3148, allocations: 3.984 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3149, allocations: 8 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3149, allocations: 0 / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.3149, allocations: 7.844 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3149, allocations: 4 kB / 0.9031 GB, free: 60.5 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 7.184e-05/0.315, allocations: 117.9 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.315, allocations: 15.8 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.3151, allocations: 16.55 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3151, allocations: 0 / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3151, allocations: 0 / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3151, allocations: 0 / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.3154, allocations: 478.8 kB / 0.9037 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3154, allocations: 4.062 kB / 0.9037 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.3155, allocations: 7.984 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3155, allocations: 0 / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3155, allocations: 0 / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3155, allocations: 7.938 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3155, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.848e-05/0.3156, allocations: 95.58 kB / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.3156, allocations: 92.91 kB / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3156, allocations: 3.938 kB / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.3157, allocations: 4 kB / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.3157, allocations: 0 / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.3157, allocations: 0 / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.3158, allocations: 132.9 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3158, allocations: 0 / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001784/0.316, allocations: 8 kB / 0.9041 GB, free: 59.42 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.0002945/0.3163, allocations: 0.6992 MB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.3164, allocations: 19.94 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3164, allocations: 8.156 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.3164, allocations: 4 kB / 0.9048 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.3165, allocations: 7.938 kB / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.3173, allocations: 0.7416 MB / 0.9055 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3174, allocations: 0.7043 MB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.3175, allocations: 12.5 kB / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.3175, allocations: 27.42 kB / 0.9062 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.3175, allocations: 0 / 0.9062 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.3301, allocations: 1.589 MB / 0.9078 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.3304, allocations: 204.1 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.991, allocations: 0 / 0.908 GB, free: 55.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)