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_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.To_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_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.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.98 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.001075/0.001075, allocations: 178.6 kB / 321.3 MB, free: 14.64 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.829/1.83, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008908/0.0008908, allocations: 82.48 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.141e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2483, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.776/1.024, allocations: 131.4 MB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/1.025, allocations: 68.02 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0026/1.027, allocations: 1.159 MB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.027, allocations: 0 / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.027, allocations: 4 kB / 1.021 GB, free: 2.262 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.000322/1.028, allocations: 361.3 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.028, allocations: 16.02 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/1.028, allocations: 33.88 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/1.028, allocations: 11.91 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.028, allocations: 178.9 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.028, allocations: 7.25 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.028, allocations: 7.125 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/1.028, allocations: 96.95 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/1.028, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.028, allocations: 4 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/1.028, allocations: 0 / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/1.028, allocations: 42.88 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/1.029, allocations: 465.2 kB / 1.023 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/1.029, allocations: 45.17 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/1.029, allocations: 17.16 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/1.029, allocations: 2.734 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/1.029, allocations: 34.56 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/1.029, allocations: 0 / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/1.029, allocations: 57.36 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.029, allocations: 80.8 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.029, allocations: 158.2 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.029, allocations: 25.7 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/1.029, allocations: 109.9 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/1.029, allocations: 10.66 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.029, allocations: 0 / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.03, allocations: 318.3 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/1.03, allocations: 15.19 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/1.03, allocations: 16.78 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/1.03, allocations: 14.64 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.03, allocations: 4 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/1.03, allocations: 63.34 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.03, allocations: 4 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.03, allocations: 3.5 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.03, allocations: 4.203 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/1.03, allocations: 8 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.03, allocations: 3.938 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/1.03, allocations: 3.938 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/1.03, allocations: 4 kB / 1.023 GB, free: 15.97 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 5.91e-05/1.03, allocations: 106.7 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/1.03, allocations: 16.02 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/1.03, allocations: 18.52 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.03, allocations: 3.938 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.03, allocations: 4 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.03, allocations: 4 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/1.03, allocations: 476.5 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.031, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/1.031, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.031, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-06/1.031, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.031, allocations: 4.062 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.031, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.973e-05/1.031, allocations: 98.06 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/1.031, allocations: 91.5 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/1.031, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/1.031, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/1.031, allocations: 4.031 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.031, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.867e-05/1.031, allocations: 124.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.031, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001793/1.031, allocations: 15.86 kB / 1.024 GB, free: 14.95 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.0003616/1.031, allocations: 0.7017 MB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.079e-05/1.032, allocations: 15.44 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.032, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/1.032, allocations: 7.438 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/1.032, allocations: 11.77 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/1.032, allocations: 147.6 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.032, allocations: 0.7004 MB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.021e-05/1.032, allocations: 12.36 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/1.032, allocations: 22.06 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.032, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/1.044, allocations: 1.557 MB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/1.045, allocations: 178.1 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.516, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)