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.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001173/0.001173, allocations: 177.2 kB / 326.5 MB, free: 2.258 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.163/2.163, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008487/0.0008489, allocations: 83.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003518, allocations: 13.39 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.3887, allocations: 131.4 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3889, allocations: 67.97 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002718/0.3917, allocations: 1.161 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3917, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.3917, allocations: 224 / 1.03 GB, free: 11.02 MB / 0.6823 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.000452/0.3922, allocations: 386.9 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3922, allocations: 8.031 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.3923, allocations: 38.56 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3923, allocations: 11.81 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3926, allocations: 182.9 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3926, allocations: 12 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3926, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3928, allocations: 87.39 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3929, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.3929, allocations: 15.94 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3929, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.393, allocations: 39.92 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.3938, allocations: 464.6 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.3939, allocations: 41.16 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3939, allocations: 4 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.394, allocations: 30.56 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.394, allocations: 0 / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002711/0.3943, allocations: 57.61 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.3944, allocations: 77.11 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3946, allocations: 165.4 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3946, allocations: 29.7 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3947, allocations: 108 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.3948, allocations: 7.844 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.3948, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.395, allocations: 323.5 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.395, allocations: 8 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.3951, allocations: 21.7 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.3951, allocations: 12 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3951, allocations: 3.953 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.3952, allocations: 61.55 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.3953, allocations: 10.5 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3953, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3953, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.3954, allocations: 7.984 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3954, allocations: 4 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.3955, allocations: 7.844 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3955, allocations: 8.156 kB / 1.032 GB, free: 8.57 MB / 0.6823 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 0.0001178/0.3956, allocations: 109.8 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.3957, allocations: 19.84 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.3957, allocations: 12.55 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3957, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3958, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3958, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.3964, allocations: 482.8 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3964, allocations: 3.984 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.3964, allocations: 4 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3964, allocations: 0 / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3964, allocations: 0 / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3964, allocations: 3.938 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/0.3965, allocations: 7.938 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.3966, allocations: 91.64 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.3967, allocations: 89 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3967, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.3968, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3968, allocations: 4 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3968, allocations: 3.984 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001361/0.397, allocations: 128.9 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.397, allocations: 4.031 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002126/0.3972, allocations: 15.84 kB / 1.033 GB, free: 7.488 MB / 0.6823 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.0007659/0.398, allocations: 0.7009 MB / 1.033 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.3981, allocations: 23.94 kB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3981, allocations: 0 / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.3981, allocations: 4 kB / 1.033 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.3983, allocations: 9.891 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3996, allocations: 0.7495 MB / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4, allocations: 0.7043 MB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.4001, allocations: 4.438 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4002, allocations: 23.42 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4002, allocations: 0 / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.4133, allocations: 1.593 MB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/0.4136, allocations: 206.2 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.868, allocations: 6.25 kB / 1.037 GB, free: 3.488 MB / 0.6823 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)