Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.7 MB / 302.3 MB, free: 2.199 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.0009959/0.000996, allocations: 183 kB / 371.6 MB, free: 3.336 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.693/1.693, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001153/0.001153, allocations: 90.7 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.986e-05/8.999e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2776, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9231/1.201, allocations: 138.5 MB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.201, allocations: 65.23 kB / 1.115 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002438/1.203, allocations: 1.154 MB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.203, allocations: 0 / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.203, allocations: 0.5 kB / 1.116 GB, free: 44.23 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.0002689/1.204, allocations: 370 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.204, allocations: 8.031 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/1.204, allocations: 47.17 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/1.204, allocations: 15.81 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.204, allocations: 178.9 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.204, allocations: 3.938 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.204, allocations: 9.094 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.204, allocations: 98.86 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.204, allocations: 3.938 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.204, allocations: 4.5 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.204, allocations: 0 / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/1.204, allocations: 36.19 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/1.205, allocations: 468 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/1.205, allocations: 38.05 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/1.205, allocations: 13.78 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/1.205, allocations: 4.656 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/1.205, allocations: 42 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/1.205, allocations: 0 / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/1.205, allocations: 52.78 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.205, allocations: 81.05 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.205, allocations: 158.1 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/1.205, allocations: 26.64 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/1.205, allocations: 114.8 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/1.206, allocations: 3.906 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.206, allocations: 0 / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/1.206, allocations: 322.2 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/1.206, allocations: 7.875 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/1.206, allocations: 17.47 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/1.206, allocations: 15.41 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.206, allocations: 4 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.668e-05/1.206, allocations: 65.88 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.206, allocations: 4.938 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.206, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.206, allocations: 3.609 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/1.206, allocations: 8 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.206, allocations: 1.625 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/1.206, allocations: 11.84 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/1.206, allocations: 0 / 1.118 GB, free: 42.04 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 5.286e-05/1.206, allocations: 105 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/1.206, allocations: 11.86 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/1.206, allocations: 16.86 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.206, allocations: 4.656 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.206, allocations: 0.75 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.206, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/1.206, allocations: 482.6 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.206, allocations: 3.375 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/1.207, allocations: 7.938 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.207, allocations: 0 / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.207, allocations: 4.531 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.207, allocations: 0 / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.207, allocations: 0 / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/1.207, allocations: 98.84 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/1.207, allocations: 89.48 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.207, allocations: 7.938 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/1.207, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/1.207, allocations: 4 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/1.207, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.257e-05/1.207, allocations: 122.7 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.01e-07/1.207, allocations: 0.75 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002045/1.207, allocations: 15.97 kB / 1.119 GB, free: 41.06 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.0002834/1.207, allocations: 0.6934 MB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.193e-05/1.207, allocations: 31.41 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.207, allocations: 0 / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/1.207, allocations: 4 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/1.208, allocations: 3.938 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/1.208, allocations: 148.6 kB / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/1.208, allocations: 0.7025 MB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.997e-05/1.208, allocations: 7.859 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/1.208, allocations: 23.06 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/1.208, allocations: 0 / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/1.22, allocations: 1.549 MB / 1.122 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/1.22, allocations: 166.4 kB / 1.123 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.786, allocations: 0 / 1.123 GB, free: 38.36 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)