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_ton.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_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.685/1.685, allocations: 251.9 MB / 266.9 MB, free: 10.88 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.001332/0.001332, allocations: 179.5 kB / 326.5 MB, free: 2.242 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.068/2.068, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.000964/0.000964, allocations: 84.42 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003611, allocations: 9.094 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.3878, allocations: 131.4 MB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3881, allocations: 67.97 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00276/0.3908, allocations: 1.153 MB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3909, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3909, allocations: 4 kB / 1.03 GB, free: 11.06 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.0003912/0.3913, allocations: 379.2 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3913, allocations: 11.97 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.3914, allocations: 42.55 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3914, allocations: 11.81 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3916, allocations: 178.9 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3916, allocations: 12 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3916, allocations: 4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3918, allocations: 95.38 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3918, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3919, allocations: 11.98 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3919, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.392, allocations: 39.92 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.3926, allocations: 464.5 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.3927, allocations: 37.22 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3927, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3927, allocations: 38.64 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3927, allocations: 3.938 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/0.3929, allocations: 53.67 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.393, allocations: 81.05 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3932, allocations: 161.2 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3932, allocations: 25.7 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.3933, allocations: 108.3 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.3933, allocations: 11.84 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.3933, allocations: 3.938 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3934, allocations: 323.5 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3934, allocations: 8 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.3935, allocations: 17.72 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.3935, allocations: 8 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3935, allocations: 7.953 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.641e-05/0.3936, allocations: 65.53 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3937, allocations: 10.66 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3937, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3937, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.3938, allocations: 8 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3938, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.3938, allocations: 3.906 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3938, allocations: 7.938 kB / 1.032 GB, free: 8.613 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 8.745e-05/0.3939, allocations: 123.3 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.394, allocations: 11.86 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.394, allocations: 12.56 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.394, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.394, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.394, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.3945, allocations: 482.8 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.3945, allocations: 4.062 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.3945, allocations: 4 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3945, allocations: 3.938 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3945, allocations: 0 / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3945, allocations: 0 / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3945, allocations: 7.984 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3946, allocations: 91.58 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.3947, allocations: 89 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3948, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.3948, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.3948, allocations: 4 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3948, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.981e-05/0.3949, allocations: 128.9 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3949, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001886/0.3951, allocations: 15.84 kB / 1.033 GB, free: 7.539 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.0004306/0.3956, allocations: 0.7048 MB / 1.033 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.3957, allocations: 23.92 kB / 1.033 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3957, allocations: 4.156 kB / 1.033 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.3957, allocations: 4 kB / 1.033 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.3958, allocations: 15.12 kB / 1.033 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.3967, allocations: 0.7454 MB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.397, allocations: 0.6965 MB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.3971, allocations: 12.42 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3971, allocations: 23.44 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3971, allocations: 0 / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.4086, allocations: 1.588 MB / 1.036 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.4089, allocations: 198.2 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.901, allocations: 2.031 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)