Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001162/0.001162, allocations: 182.5 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009762/0.0009763, allocations: 91.27 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.466e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3011, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8667/1.168, allocations: 138.5 MB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.168, allocations: 62.59 kB / 1.115 GB, free: 44.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002568/1.171, allocations: 1.147 MB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/1.171, allocations: 4 kB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.333e-06/1.171, allocations: 0.5938 kB / 1.116 GB, free: 44.27 MB / 0.7448 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.0002726/1.171, allocations: 371.4 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.171, allocations: 8.031 kB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/1.171, allocations: 46.38 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/1.171, allocations: 15.31 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.171, allocations: 183 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.171, allocations: 3.562 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/1.171, allocations: 10.91 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.172, allocations: 93.72 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.172, allocations: 4 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.172, allocations: 3.562 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/1.172, allocations: 2.922 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/1.172, allocations: 37.69 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/1.172, allocations: 459 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/1.172, allocations: 40.59 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/1.172, allocations: 13.22 kB / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/1.172, allocations: 12.84 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.172, allocations: 31.5 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.524e-06/1.172, allocations: 0 / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001761/1.173, allocations: 56.06 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.173, allocations: 81.05 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/1.173, allocations: 159.1 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/1.173, allocations: 25.7 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/1.173, allocations: 116.1 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/1.173, allocations: 4.562 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.173, allocations: 0 / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/1.173, allocations: 324.9 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/1.173, allocations: 7.25 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/1.173, allocations: 17.09 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/1.173, allocations: 15.19 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.173, allocations: 0 / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.227e-05/1.173, allocations: 68.78 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.173, allocations: 4 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.173, allocations: 0 / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.173, allocations: 0 / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/1.173, allocations: 11.52 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.173, allocations: 0.7812 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/1.173, allocations: 11.84 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/1.173, allocations: 0 / 1.118 GB, free: 42.08 MB / 0.7448 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 6.054e-05/1.173, allocations: 105 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.173, allocations: 14.14 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/1.174, allocations: 18.41 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.174, allocations: 0 / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.174, allocations: 4 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.174, allocations: 0 / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.174, allocations: 482.9 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.174, allocations: 0.6562 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/1.174, allocations: 4.5 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.174, allocations: 4 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.174, allocations: 10.73 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.174, allocations: 0 / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.174, allocations: 0 / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/1.174, allocations: 93.2 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/1.174, allocations: 96.48 kB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.174, allocations: 0 / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.335e-05/1.174, allocations: 0 / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/1.174, allocations: 3.844 kB / 1.119 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/1.174, allocations: 4.625 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.002e-05/1.174, allocations: 123.1 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.174, allocations: 3.938 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001751/1.175, allocations: 12.03 kB / 1.119 GB, free: 41.1 MB / 0.7448 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.0002878/1.175, allocations: 0.6964 MB / 1.12 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/1.175, allocations: 22.53 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.175, allocations: 0 / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/1.175, allocations: 11.44 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/1.175, allocations: 4.312 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.175, allocations: 147.1 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/1.176, allocations: 0.7021 MB / 1.121 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.369e-05/1.176, allocations: 8 kB / 1.121 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/1.176, allocations: 25.03 kB / 1.121 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of SimCode: time 1.422e-06/1.176, allocations: 0 / 1.121 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/1.187, allocations: 1.558 MB / 1.122 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.188, allocations: 156.9 kB / 1.123 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.702, allocations: 0 / 1.123 GB, free: 38.39 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)