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.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.957 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.001007/0.001008, allocations: 179.5 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008625/0.0008624, allocations: 86.53 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.913e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.189, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.67/0.8591, allocations: 131.6 MB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.8593, allocations: 64.58 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002454/0.8617, allocations: 1.15 MB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8618, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8618, allocations: 4 kB / 1.015 GB, free: 4.652 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.0002825/0.8621, allocations: 365.9 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8621, allocations: 12.03 kB / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.8621, allocations: 11.84 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.8623, allocations: 182.4 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8623, allocations: 2.5 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.8623, allocations: 12.83 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.751e-05/0.8624, allocations: 31.06 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.8625, allocations: 85.58 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8625, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8626, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.8626, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.863, allocations: 418.3 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.8631, allocations: 40.91 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.8631, allocations: 17.7 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.8631, allocations: 8 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.8632, allocations: 36.61 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8632, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.8633, allocations: 49.05 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.8633, allocations: 77.11 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.8634, allocations: 124.9 kB / 1.016 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8634, allocations: 25.7 kB / 1.016 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.8635, allocations: 111.3 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.8635, allocations: 11.89 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.8635, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.8636, allocations: 316.9 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.8636, allocations: 7.438 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.8637, allocations: 21.41 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.8637, allocations: 15.67 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8637, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.878e-05/0.8638, allocations: 60.75 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8638, allocations: 4 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.8638, allocations: 4 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.8638, allocations: 0 / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.8639, allocations: 4 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8639, allocations: 3.984 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.8639, allocations: 12 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.8639, allocations: 0 / 1.017 GB, free: 2.5 MB / 0.6355 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.227e-05/0.864, allocations: 101 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.117e-05/0.8641, allocations: 52.94 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.8641, allocations: 4 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.8642, allocations: 19.56 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8642, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.8642, allocations: 3.938 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8642, allocations: 4.062 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.8646, allocations: 457.9 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8646, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.8646, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8646, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.8646, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.8646, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8646, allocations: 64 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.116e-05/0.8647, allocations: 94.22 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.8648, allocations: 85.02 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.8648, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.8648, allocations: 4 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.8648, allocations: 8.016 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8648, allocations: 3.938 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.8649, allocations: 103.1 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8649, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001738/0.8651, allocations: 11.91 kB / 1.018 GB, free: 1.492 MB / 0.6355 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.0003246/0.8654, allocations: 0.6968 MB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.8655, allocations: 18.19 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8655, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.8655, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.8656, allocations: 10.89 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.8659, allocations: 149.3 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.8662, allocations: 0.6963 MB / 1.019 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.8662, allocations: 8.172 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.8662, allocations: 17.25 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.8663, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.8837, allocations: 0.9815 MB / 1.02 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.884, allocations: 163.2 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.332/2.216, allocations: 0 / 1.021 GB, free: 14.65 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)