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.387/1.387, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001071/0.001071, allocations: 178.2 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.567/1.567, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008789/0.0008789, allocations: 86.52 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.256e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.724/0.9559, allocations: 131.3 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.9562, allocations: 63.59 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002688/0.9589, allocations: 1.16 MB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9589, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.9589, allocations: 4 kB / 1.021 GB, free: 2.277 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.0003189/0.9593, allocations: 367.1 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9593, allocations: 12.03 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.9594, allocations: 41.55 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.9594, allocations: 11.91 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.9595, allocations: 183.7 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.9596, allocations: 3.5 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.9596, allocations: 11.31 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.9597, allocations: 91.55 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9598, allocations: 4 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9598, allocations: 7.375 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.9598, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.9599, allocations: 38.5 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.9604, allocations: 458.2 kB / 1.023 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.9605, allocations: 44.06 kB / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.9605, allocations: 15.91 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.9605, allocations: 7.984 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.9606, allocations: 38.56 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.9606, allocations: 0 / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.9607, allocations: 49.3 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.9608, allocations: 77.11 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.9609, allocations: 154.7 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.9609, allocations: 29.27 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.961, allocations: 113.9 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.961, allocations: 3.906 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.961, allocations: 4.062 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.9611, allocations: 322.8 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.9612, allocations: 7.75 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.9612, allocations: 21.27 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.9612, allocations: 18.95 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9612, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.101e-05/0.9613, allocations: 65.03 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9614, allocations: 4 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.9614, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.9614, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.9615, allocations: 8 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9615, allocations: 3.938 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.9615, allocations: 4.094 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.9615, allocations: 7.719 kB / 1.023 GB, free: 15.99 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.841e-05/0.9616, allocations: 105.9 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.9616, allocations: 19.66 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.9617, allocations: 20.12 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9617, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9617, allocations: 7.938 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9617, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.9621, allocations: 479.9 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9621, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.9621, allocations: 64 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9621, allocations: 8 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.9621, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9621, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9621, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.9623, allocations: 98.44 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.9623, allocations: 92.92 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9623, allocations: 3.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.9624, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.9624, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.9624, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.9625, allocations: 126 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9625, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000204/0.9627, allocations: 19.55 kB / 1.024 GB, free: 14.96 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.0003625/0.9631, allocations: 0.6944 MB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.9631, allocations: 19 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9632, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.9632, allocations: 12.16 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.0001093/0.9633, allocations: 13.55 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.9636, allocations: 147 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.9639, allocations: 0.6965 MB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.9639, allocations: 12.55 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.964, allocations: 25.06 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.964, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.9757, allocations: 1.563 MB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.9759, allocations: 169.1 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.409, allocations: 2.188 kB / 1.028 GB, free: 11.62 MB / 0.6511 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)