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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001108/0.001108, allocations: 178.9 kB / 326.5 MB, free: 2.238 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.994/1.994, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009813/0.0009808, allocations: 96.02 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004211, allocations: 12.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.4518, allocations: 131.4 MB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.4522, allocations: 63.97 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002863/0.4551, allocations: 1.161 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4551, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.4551, allocations: 0 / 1.03 GB, free: 11 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.0003989/0.4555, allocations: 379.2 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4556, allocations: 11.97 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.4556, allocations: 50.55 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.4557, allocations: 11.81 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4558, allocations: 184.2 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4558, allocations: 8 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.4559, allocations: 7.984 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.4561, allocations: 91.38 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4561, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4561, allocations: 8 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4561, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.4562, allocations: 43.92 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.4568, allocations: 460.5 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.4569, allocations: 37.34 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.4569, allocations: 0 / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4569, allocations: 34.56 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4569, allocations: 0 / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001867/0.4571, allocations: 61.81 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4572, allocations: 77.11 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.4573, allocations: 161.2 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4574, allocations: 29.64 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.4574, allocations: 108 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-06/0.4575, allocations: 7.844 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.4575, allocations: 0 / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4576, allocations: 323.5 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.4576, allocations: 15.97 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.4576, allocations: 17.72 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.4577, allocations: 12 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4577, allocations: 3.953 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.735e-05/0.4578, allocations: 65.53 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4578, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4578, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4578, allocations: 64 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.4579, allocations: 12 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4579, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.458, allocations: 3.906 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.458, allocations: 7.938 kB / 1.032 GB, free: 8.555 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.085e-05/0.4581, allocations: 117.8 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.4581, allocations: 11.86 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.4581, allocations: 12.56 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4582, allocations: 0 / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4582, allocations: 0 / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4582, allocations: 4 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.4586, allocations: 486.8 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4586, allocations: 0 / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.4586, allocations: 4 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4586, allocations: 0 / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.4586, allocations: 0 / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4587, allocations: 4 kB / 1.032 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4587, allocations: 8 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.4588, allocations: 91.56 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.4588, allocations: 89 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.4589, allocations: 0 / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.708e-05/0.4589, allocations: 8 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.4589, allocations: 4.031 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.4589, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.459, allocations: 128.9 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.459, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001767/0.4592, allocations: 19.84 kB / 1.033 GB, free: 7.469 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.0004099/0.4596, allocations: 0.7008 MB / 1.033 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.4597, allocations: 19.98 kB / 1.033 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4597, allocations: 3.938 kB / 1.033 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.4597, allocations: 8 kB / 1.033 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.4599, allocations: 8.891 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.4609, allocations: 0.7572 MB / 1.034 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4611, allocations: 0.6965 MB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.4612, allocations: 8.422 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.4612, allocations: 19.44 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4612, allocations: 0 / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.4738, allocations: 1.573 MB / 1.036 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.474, allocations: 195.9 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.019, allocations: 6.344 kB / 1.037 GB, free: 3.473 MB / 0.6823 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)