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.394/1.394, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.0009091/0.0009092, allocations: 176.9 kB / 321.3 MB, free: 14.65 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.448/1.448, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008471/0.0008471, allocations: 98.44 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.258e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2377, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7551/0.9929, allocations: 131.4 MB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.9932, allocations: 65.84 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002846/0.996, allocations: 1.167 MB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9961, allocations: 4 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.9961, allocations: 0 / 1.021 GB, free: 2.242 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.0003602/0.9965, allocations: 369.1 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.9965, allocations: 12.02 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.9966, allocations: 37.62 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.9966, allocations: 11.72 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.9968, allocations: 180 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.9968, allocations: 3.938 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.9968, allocations: 11 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.997, allocations: 100.2 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.997, allocations: 0 / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.997, allocations: 0 / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.997, allocations: 0 / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.9971, allocations: 42.31 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.9978, allocations: 466.9 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.9978, allocations: 41.25 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.9979, allocations: 16.34 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.9979, allocations: 4 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.9979, allocations: 34.56 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.9979, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001644/0.9981, allocations: 49.48 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.9982, allocations: 77.11 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9983, allocations: 156.2 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.9983, allocations: 25.7 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.9984, allocations: 120.9 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.9984, allocations: 3.906 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.9985, allocations: 0 / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9986, allocations: 325.2 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.9986, allocations: 7.25 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.9986, allocations: 17.41 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.9987, allocations: 15.08 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9987, allocations: 7.938 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.9988, allocations: 60.09 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9988, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.9988, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9989, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.9989, allocations: 8 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.999, allocations: 3.938 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.999, allocations: 10.88 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.999, allocations: 224 / 1.023 GB, free: 15.96 MB / 0.6511 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 7.153e-05/0.9991, allocations: 113.2 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.9991, allocations: 19.73 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.9992, allocations: 15.08 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9992, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9992, allocations: 4 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.9992, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.9996, allocations: 479.7 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9996, allocations: 7.969 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.9997, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9997, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.9997, allocations: 96 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9997, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9997, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.9998, allocations: 106.3 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.9999, allocations: 92.44 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.9999, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.9999, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.9999, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.9999, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.035e-05/1, allocations: 129.6 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001802/1, allocations: 15.86 kB / 1.024 GB, free: 14.93 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.0004355/1.001, allocations: 0.6908 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.705e-05/1.001, allocations: 27.12 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.001, allocations: 4.156 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/1.001, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/1.001, allocations: 13.14 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/1.001, allocations: 147.1 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/1.002, allocations: 0.6967 MB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.368e-05/1.002, allocations: 12.42 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/1.002, allocations: 22.31 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.002, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/1.014, allocations: 1.571 MB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.015, allocations: 180.7 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.497, allocations: 64 / 1.028 GB, free: 11.59 MB / 0.6511 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)