Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.465/2.465, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 184.8 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001522/0.001521, allocations: 95.25 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.286e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8104, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.047, allocations: 136.7 MB / 1.097 GB, free: 3.867 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.047, allocations: 59.97 kB / 1.097 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003978/1.051, allocations: 1.147 MB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/1.051, allocations: 0.5 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.051, allocations: 4.844 kB / 1.098 GB, free: 2.68 MB / 0.698 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.0004035/1.052, allocations: 372.1 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.052, allocations: 14.97 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/1.052, allocations: 11.81 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/1.052, allocations: 175 kB / 1.099 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.052, allocations: 0 / 1.099 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/1.052, allocations: 4 kB / 1.099 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001332/1.052, allocations: 40.47 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/1.052, allocations: 84.56 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.052, allocations: 0 / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.052, allocations: 4.531 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.052, allocations: 2.344 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/1.053, allocations: 424 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.078e-05/1.053, allocations: 42.16 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/1.053, allocations: 15.75 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/1.053, allocations: 0.875 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.053, allocations: 35.19 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/1.053, allocations: 0.5625 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/1.054, allocations: 46.5 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/1.054, allocations: 81.05 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.054, allocations: 131.8 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/1.054, allocations: 25.7 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/1.054, allocations: 112.8 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-06/1.054, allocations: 4.5 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.054, allocations: 0 / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.054, allocations: 319.5 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/1.054, allocations: 8.531 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/1.054, allocations: 25.89 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/1.054, allocations: 9.812 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.054, allocations: 0 / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001232/1.054, allocations: 62.3 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.054, allocations: 8 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.054, allocations: 0.875 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.054, allocations: 224 / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/1.055, allocations: 4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.055, allocations: 7.531 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/1.055, allocations: 7.938 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/1.055, allocations: 0 / 1.1 GB, free: 460 kB / 0.698 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 7.264e-05/1.055, allocations: 101 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001273/1.055, allocations: 63.61 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/1.055, allocations: 3.906 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/1.055, allocations: 11.97 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.055, allocations: 1.156 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.055, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.055, allocations: 4 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/1.056, allocations: 449.4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.056, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/1.056, allocations: 4.25 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/1.056, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.056, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.056, allocations: 3.984 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.056, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/1.056, allocations: 91.52 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/1.056, allocations: 97.03 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/1.056, allocations: 2.906 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/1.056, allocations: 4 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/1.056, allocations: 2.312 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/1.056, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.04e-05/1.056, allocations: 105.5 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.056, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002634/1.056, allocations: 8 kB / 1.101 GB, free: 15.42 MB / 0.7136 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.0004395/1.057, allocations: 0.699 MB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.057, allocations: 16 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.057, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/1.057, allocations: 8.156 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/1.057, allocations: 11.95 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/1.058, allocations: 144.9 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/1.058, allocations: 0.7002 MB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.497e-05/1.058, allocations: 320 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/1.058, allocations: 31.42 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.058, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/1.106, allocations: 0.9825 MB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/1.106, allocations: 151.1 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.268, allocations: 0.8438 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)