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.543/1.543, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.0008363/0.0008364, allocations: 171.2 kB / 372.2 MB, free: 10.12 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.077/1.077, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006739/0.0006739, allocations: 103.5 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12.69 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0006469/0.1388, allocations: 0.529 MB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.012e-05/0.1389, allocations: 43.78 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1389, allocations: 4 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.1389, allocations: 7.922 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.139, allocations: 3.938 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.063e-05/0.139, allocations: 15.98 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.1391, allocations: 63.78 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.1392, allocations: 41.38 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.1392, allocations: 15.81 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1393, allocations: 27.8 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1393, allocations: 0 / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.1393, allocations: 4 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1393, allocations: 15.92 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1394, allocations: 49.52 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.382e-05/0.1394, allocations: 60.08 kB / 0.981 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1394, allocations: 0 / 0.981 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1394, allocations: 4 kB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.1394, allocations: 0 / 0.9811 GB, free: 26.34 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.0002327/0.1397, allocations: 379.2 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1397, allocations: 8.031 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.124e-05/0.1397, allocations: 42.75 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.1398, allocations: 8.844 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1399, allocations: 196.1 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.1399, allocations: 12.28 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1399, allocations: 4.375 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.14, allocations: 91.95 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.14, allocations: 3.938 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1401, allocations: 11.94 kB / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1401, allocations: 0 / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.722e-05/0.1401, allocations: 43.92 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.1405, allocations: 448.5 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.003e-05/0.1405, allocations: 45.34 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.1405, allocations: 17.77 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1405, allocations: 4 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.089e-05/0.1406, allocations: 34.5 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1406, allocations: 0 / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001204/0.1407, allocations: 53.55 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.1407, allocations: 85.3 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.1408, allocations: 173.9 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.1408, allocations: 25.7 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.1409, allocations: 108 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-06/0.1409, allocations: 7.906 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1409, allocations: 0 / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.308e-05/0.1409, allocations: 322.8 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.1409, allocations: 8 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.1409, allocations: 21.72 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.141, allocations: 25.72 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.141, allocations: 0 / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.531e-05/0.1411, allocations: 65.53 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1411, allocations: 9.344 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1411, allocations: 0 / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.1411, allocations: 0 / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.1412, allocations: 12.06 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1412, allocations: 0 / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.1412, allocations: 7.906 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1412, allocations: 0 / 0.9832 GB, free: 23.85 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 4.232e-05/0.1412, allocations: 131.4 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1413, allocations: 11.84 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.1413, allocations: 12.56 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1413, allocations: 4.078 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1413, allocations: 0 / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1413, allocations: 4 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1416, allocations: 478.8 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1416, allocations: 0 / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.1416, allocations: 4 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1416, allocations: 0 / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1416, allocations: 0 / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1416, allocations: 4 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1416, allocations: 4.062 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.367e-05/0.1417, allocations: 90.55 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.1417, allocations: 96.94 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.1417, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.1418, allocations: 4 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1418, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1418, allocations: 4.031 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.1418, allocations: 128.9 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1418, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001595/0.142, allocations: 12 kB / 0.9842 GB, free: 22.77 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.0001671/0.1422, allocations: 0.6171 MB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.372e-05/0.1422, allocations: 19.88 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1422, allocations: 0 / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.1423, allocations: 11.98 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.1424, allocations: 5.031 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.143, allocations: 0.5857 MB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.143, allocations: 0.7004 MB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.1431, allocations: 8.422 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1431, allocations: 23.44 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1431, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.373/1.516, allocations: 1.577 MB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/1.516, allocations: 206.1 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.769, allocations: 3.234 kB / 0.9878 GB, free: 19.03 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)