Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.247/2.247, allocations: 248.7 MB / 256.2 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 188.8 kB / 315.4 MB, free: 3.984 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.063/2.063, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 88.36 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.257e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8619/1.069, allocations: 131.4 MB / 1.012 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.069, allocations: 62.97 kB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004268/1.073, allocations: 1.156 MB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.073, allocations: 0 / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.073, allocations: 4 kB / 1.014 GB, free: 6.289 MB / 0.6355 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.0004297/1.074, allocations: 370.2 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.074, allocations: 12.03 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/1.074, allocations: 14.98 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/1.074, allocations: 178.8 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.074, allocations: 4 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/1.074, allocations: 7.938 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/1.074, allocations: 34.23 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/1.074, allocations: 77.22 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.075, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.075, allocations: 0 / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.075, allocations: 4 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/1.075, allocations: 426.7 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/1.075, allocations: 41.09 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/1.075, allocations: 12.34 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/1.076, allocations: 4.062 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.076, allocations: 38.91 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.04e-06/1.076, allocations: 3.984 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002092/1.076, allocations: 48.91 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.076, allocations: 81.17 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/1.076, allocations: 120.6 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.076, allocations: 25.7 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/1.076, allocations: 113.7 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/1.076, allocations: 7.906 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/1.076, allocations: 3.938 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.076, allocations: 320.7 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/1.076, allocations: 7.188 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/1.076, allocations: 24.66 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/1.076, allocations: 11 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.076, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001248/1.077, allocations: 56.64 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.077, allocations: 4 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.077, allocations: 4 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.077, allocations: 0 / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.077, allocations: 7.938 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/1.077, allocations: 4.062 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/1.077, allocations: 11.84 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.077, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 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 () * 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 9.252e-05/1.077, allocations: 101.2 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001227/1.077, allocations: 49.3 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/1.077, allocations: 15.78 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/1.077, allocations: 15.36 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.077, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.077, allocations: 4.062 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.077, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/1.078, allocations: 452.2 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.078, allocations: 0 / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/1.078, allocations: 4.812 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.078, allocations: 4 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.078, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.078, allocations: 4.047 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.078, allocations: 4 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/1.078, allocations: 82.55 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/1.078, allocations: 92.31 kB / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/1.078, allocations: 3.75 kB / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/1.078, allocations: 0 / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/1.078, allocations: 8.031 kB / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/1.078, allocations: 0 / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.195e-05/1.078, allocations: 108.5 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.078, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002704/1.079, allocations: 11.91 kB / 1.017 GB, free: 3.133 MB / 0.6355 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 () * 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.0004624/1.079, allocations: 0.6921 MB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.079, allocations: 18.69 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.079, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/1.079, allocations: 7.938 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/1.079, allocations: 10.83 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/1.08, allocations: 149.3 kB / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.08, allocations: 0.7001 MB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.977e-05/1.08, allocations: 4.188 kB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/1.08, allocations: 25.42 kB / 1.018 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/1.08, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/1.117, allocations: 0.9821 MB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.118, allocations: 153.3 kB / 1.019 GB, free: 300 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.372, allocations: 1.203 kB / 1.019 GB, free: 300 kB / 0.6355 GB