Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001104/0.001104, allocations: 183.7 kB / 371.8 MB, free: 10.27 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.729/1.729, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.000865, allocations: 103.4 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004169, allocations: 16.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00109/0.2529, allocations: 0.5329 MB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.2531, allocations: 47.73 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.2531, allocations: 0 / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.2532, allocations: 3.938 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2533, allocations: 15.97 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.07e-05/0.2533, allocations: 15.98 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.2534, allocations: 35.91 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2536, allocations: 37.55 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.2536, allocations: 19.81 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.2537, allocations: 19.86 kB / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2537, allocations: 4 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.2537, allocations: 0 / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2538, allocations: 19.92 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2538, allocations: 41.62 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.2539, allocations: 52.11 kB / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.2539, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2539, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.2539, allocations: 0 / 0.9803 GB, free: 26.75 MB / 0.6198 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.0003893/0.2543, allocations: 375 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2544, allocations: 16.02 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.2544, allocations: 34.56 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.2545, allocations: 15.91 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2547, allocations: 198.8 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2547, allocations: 8 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2547, allocations: 8 kB / 0.9809 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2549, allocations: 95.31 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2549, allocations: 0 / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2549, allocations: 7.984 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2549, allocations: 4 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.255, allocations: 39.98 kB / 0.9811 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.2555, allocations: 444.5 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.2556, allocations: 41.17 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.2556, allocations: 0 / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2557, allocations: 34.66 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2557, allocations: 11.94 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.2559, allocations: 45.61 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2559, allocations: 89.03 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.256, allocations: 166.2 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.2561, allocations: 33.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.2561, allocations: 111.9 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.2561, allocations: 0 / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.2561, allocations: 0 / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.2562, allocations: 326.8 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.2562, allocations: 7.938 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.2563, allocations: 17.72 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.2563, allocations: 12 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2563, allocations: 0 / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.2564, allocations: 73.39 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2564, allocations: 4 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2565, allocations: 4 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2565, allocations: 0 / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.2566, allocations: 4 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2566, allocations: 3.984 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.2566, allocations: 4 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.2566, allocations: 8.047 kB / 0.9824 GB, free: 24.29 MB / 0.6198 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 6.956e-05/0.2567, allocations: 115.4 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.2568, allocations: 11.86 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.2568, allocations: 12.56 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2568, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2569, allocations: 4 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2569, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.2572, allocations: 490.6 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2573, allocations: 4 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.2573, allocations: 4 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2573, allocations: 7.938 kB / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2573, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2573, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2573, allocations: 0 / 0.9831 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.2574, allocations: 99.62 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.2575, allocations: 89 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2575, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.2576, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.2576, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.2576, allocations: 4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.2577, allocations: 128.9 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2577, allocations: 4.031 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002853/0.258, allocations: 11.94 kB / 0.9834 GB, free: 23.21 MB / 0.6198 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.0002741/0.2583, allocations: 0.6991 MB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.2584, allocations: 23.97 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2584, allocations: 3.938 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.2584, allocations: 11.98 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.2586, allocations: 8 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.2595, allocations: 0.7266 MB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2596, allocations: 0.7004 MB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.236e-05/0.2597, allocations: 8.422 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.2598, allocations: 23.44 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2598, allocations: 0 / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.2731, allocations: 1.587 MB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.2733, allocations: 199.1 kB / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.877, allocations: 0 / 0.9873 GB, free: 19.22 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)