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_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.From_Btu,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 252 MB / 267.3 MB, free: 10.86 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.00108/0.00108, allocations: 177.5 kB / 327 MB, free: 2.09 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.883/1.883, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008455/0.0008457, allocations: 90.31 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8.938 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00105/0.2537, allocations: 0.5769 MB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.2538, allocations: 43.78 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.2539, allocations: 0 / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.2539, allocations: 7.922 kB / 0.9015 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2541, allocations: 3.938 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.556e-05/0.2541, allocations: 19.98 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.2542, allocations: 71.78 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2544, allocations: 29.39 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.2544, allocations: 23.86 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.2545, allocations: 27.8 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2545, allocations: 4 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.2545, allocations: 0 / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.2546, allocations: 11.88 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.2546, allocations: 61.42 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.2547, allocations: 71.69 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2547, allocations: 0 / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2547, allocations: 0 / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.2548, allocations: 3.938 kB / 0.9019 GB, free: 62.4 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.0004296/0.2552, allocations: 367.6 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2552, allocations: 12.03 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.2553, allocations: 38.73 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.2553, allocations: 16.75 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2555, allocations: 204.1 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2556, allocations: 384 / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2556, allocations: 16.36 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2558, allocations: 94.91 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2558, allocations: 7.938 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2558, allocations: 0 / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2558, allocations: 4 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.2559, allocations: 39.92 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.2564, allocations: 440.5 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.2565, allocations: 53.34 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.2565, allocations: 9.719 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2565, allocations: 4.062 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2566, allocations: 30.56 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2566, allocations: 0 / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002095/0.2568, allocations: 69.47 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2568, allocations: 77.11 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.257, allocations: 166.2 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.257, allocations: 25.7 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.257, allocations: 107.9 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.2571, allocations: 11.91 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2571, allocations: 0 / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.2571, allocations: 319.1 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.2572, allocations: 15.88 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.2572, allocations: 25.7 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.2572, allocations: 25.72 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2572, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.91e-05/0.2573, allocations: 61.55 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2573, allocations: 15.98 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2574, allocations: 0 / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2574, allocations: 4 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.2575, allocations: 4 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2575, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.2575, allocations: 11.94 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2575, allocations: 0 / 0.904 GB, free: 59.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.2576, allocations: 113.8 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.2577, allocations: 19.69 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2577, allocations: 20.55 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2577, allocations: 0 / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2577, allocations: 4 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2577, allocations: 0 / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.258, allocations: 470.8 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.258, allocations: 7.984 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.2581, allocations: 3.938 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2581, allocations: 4 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2581, allocations: 4.062 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2581, allocations: 0 / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2581, allocations: 0 / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.2582, allocations: 81.84 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.2582, allocations: 89 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2582, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.2583, allocations: 8.031 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.2583, allocations: 0 / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2583, allocations: 4 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.2584, allocations: 124.9 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2584, allocations: 3.938 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001782/0.2586, allocations: 8 kB / 0.905 GB, free: 58.85 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.2588, allocations: 0.6209 MB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.626e-05/0.2589, allocations: 23.94 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.259, allocations: 3.938 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.259, allocations: 4 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.2591, allocations: 11.94 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.2602, allocations: 1.398 MB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2603, allocations: 0.7004 MB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.2603, allocations: 4.438 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.2604, allocations: 27.42 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2604, allocations: 0 / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.2719, allocations: 1.474 MB / 0.9091 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.2722, allocations: 228.9 kB / 0.9093 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.113, allocations: 0 / 0.9093 GB, free: 54.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)