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_inH2O.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_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001165/0.001165, allocations: 182.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.001144/0.001144, allocations: 82.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.067e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2683, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6997/0.968, allocations: 131.3 MB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.9683, allocations: 70.88 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002757/0.971, allocations: 1.157 MB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9711, allocations: 4 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9711, allocations: 0 / 1.021 GB, free: 2.316 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.0003305/0.9714, allocations: 362 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9715, allocations: 12.02 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.9715, allocations: 42.06 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.9715, allocations: 8.781 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.9717, allocations: 183.6 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.9717, allocations: 4 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.9718, allocations: 10.75 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.9719, allocations: 96.64 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.9719, allocations: 0 / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.972, allocations: 0 / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.972, allocations: 4 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.9721, allocations: 46.5 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.9726, allocations: 462.6 kB / 1.023 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.9727, allocations: 41.19 kB / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.9727, allocations: 20.84 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.9728, allocations: 2.734 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.9728, allocations: 30.56 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9728, allocations: 0 / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.9729, allocations: 52.98 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.973, allocations: 77.11 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.9731, allocations: 162.7 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.9732, allocations: 25.7 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.9732, allocations: 109.7 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.9732, allocations: 7.891 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.9733, allocations: 2.125 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9734, allocations: 321.7 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.9734, allocations: 7.25 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.9734, allocations: 23.16 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.9735, allocations: 15.45 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9735, allocations: 0 / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.59e-05/0.9736, allocations: 64.16 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.9736, allocations: 4 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9736, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.9736, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.9737, allocations: 4 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9737, allocations: 0 / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.9737, allocations: 15.94 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.9737, allocations: 0 / 1.023 GB, free: 36 kB / 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 6.947e-05/0.9738, allocations: 109.9 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.9739, allocations: 26.08 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.9739, allocations: 15.77 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9739, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.9739, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9739, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.9743, allocations: 482.8 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9743, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.9744, allocations: 4 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9744, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.9744, allocations: 3.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9744, allocations: 7.984 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9744, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.098e-05/0.9745, allocations: 95.12 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.9746, allocations: 91.38 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9746, allocations: 3.938 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.9746, allocations: 7.375 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.9746, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.9747, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.9748, allocations: 132.7 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9748, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001987/0.975, allocations: 19.05 kB / 1.024 GB, free: 15 MB / 0.6511 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.0004041/0.9754, allocations: 0.6948 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.9755, allocations: 22.44 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9755, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.9755, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.9756, allocations: 15.47 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.976, allocations: 143.8 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.9764, allocations: 0.7084 MB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.9764, allocations: 8.422 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.9765, allocations: 24.81 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.9765, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.9925, allocations: 1.567 MB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.9928, allocations: 171.3 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/2.435, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)