Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 267 MB, free: 10.99 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.001167/0.001167, allocations: 177.5 kB / 326.6 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 2.173/2.173, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007587/0.0007588, allocations: 93.86 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004615, allocations: 10.34 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0009235/0.239, allocations: 0.5578 MB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001015/0.2392, allocations: 43.78 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.2392, allocations: 3.938 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.2392, allocations: 7.922 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2394, allocations: 3.938 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.132e-05/0.2394, allocations: 15.98 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.2395, allocations: 59.84 kB / 0.901 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2396, allocations: 37.56 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.2397, allocations: 23.8 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.2397, allocations: 23.8 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2397, allocations: 0 / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2398, allocations: 4 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.2398, allocations: 7.938 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2398, allocations: 37.64 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.319e-05/0.2399, allocations: 55.86 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2399, allocations: 4 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2399, allocations: 0 / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2399, allocations: 0 / 0.9012 GB, free: 63.45 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.0003129/0.2402, allocations: 375.4 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2403, allocations: 8.031 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.2403, allocations: 38.56 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.2403, allocations: 11.81 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2405, allocations: 198.8 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2405, allocations: 12 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2405, allocations: 4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2407, allocations: 91.3 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2407, allocations: 7.938 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2407, allocations: 4 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2407, allocations: 0 / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.2408, allocations: 43.91 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.2412, allocations: 452.7 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.2413, allocations: 41.23 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.2413, allocations: 21.78 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.2413, allocations: 4 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.2413, allocations: 30.56 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2413, allocations: 0 / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.2415, allocations: 61.45 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2415, allocations: 81.09 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2416, allocations: 166.2 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.2417, allocations: 25.95 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.2417, allocations: 108 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.2417, allocations: 7.906 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.2417, allocations: 0 / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.2418, allocations: 318.8 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.2418, allocations: 8 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.2418, allocations: 29.64 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.2418, allocations: 8 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2419, allocations: 7.953 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.794e-05/0.2419, allocations: 61.53 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2419, allocations: 4 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.242, allocations: 0 / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.242, allocations: 3.938 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.242, allocations: 12 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2421, allocations: 0 / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.2421, allocations: 7.844 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2421, allocations: 7.984 kB / 0.9033 GB, free: 60.97 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 5.543e-05/0.2422, allocations: 117.9 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.2422, allocations: 11.86 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.2422, allocations: 12.56 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2422, allocations: 0 / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2422, allocations: 0 / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2423, allocations: 3.938 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.2425, allocations: 482.8 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2425, allocations: 0 / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.2426, allocations: 4 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2426, allocations: 0 / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2426, allocations: 0 / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2426, allocations: 4 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2426, allocations: 0 / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.266e-05/0.2427, allocations: 89.84 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.2427, allocations: 92.91 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2427, allocations: 0 / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.511e-05/0.2427, allocations: 4 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.2428, allocations: 0 / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2428, allocations: 4 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.2428, allocations: 124.9 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2428, allocations: 0 / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001874/0.243, allocations: 8 kB / 0.9042 GB, free: 59.92 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.0002644/0.2433, allocations: 0.621 MB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.2434, allocations: 20 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2434, allocations: 160 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.2434, allocations: 15.92 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.2436, allocations: 13.06 kB / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.2443, allocations: 0.5868 MB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2444, allocations: 0.6965 MB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.2444, allocations: 16.36 kB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2445, allocations: 23.44 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2445, allocations: 3.938 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.2553, allocations: 1.603 MB / 0.9078 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.2555, allocations: 216.2 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.773, allocations: 0 / 0.908 GB, free: 56.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)