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.692/1.692, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001059/0.001059, allocations: 180.5 kB / 372 MB, free: 10.25 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.587/1.587, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0009401/0.0009403, allocations: 90.36 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 10.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0008708/0.2067, allocations: 0.5368 MB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.2068, allocations: 35.8 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.2069, allocations: 0 / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.2069, allocations: 3.938 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.2071, allocations: 19.91 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.57e-05/0.2071, allocations: 11.98 kB / 0.9802 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.2072, allocations: 63.84 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2074, allocations: 33.45 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.2074, allocations: 23.86 kB / 0.9803 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.2075, allocations: 23.8 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2075, allocations: 8 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.2075, allocations: 0 / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.2075, allocations: 7.938 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2076, allocations: 37.64 kB / 0.9804 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2077, allocations: 60.08 kB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.2077, allocations: 4 kB / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.938e-06/0.2077, allocations: 0 / 0.9805 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2077, allocations: 0 / 0.9805 GB, free: 26.68 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.0005437/0.2083, allocations: 371 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.2084, allocations: 24 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.2084, allocations: 38.56 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.2085, allocations: 11.91 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.2088, allocations: 194.8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2088, allocations: 8 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2088, allocations: 8 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.209, allocations: 91.39 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.209, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2091, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2091, allocations: 4 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.2092, allocations: 39.92 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.2098, allocations: 448.5 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.2099, allocations: 49.3 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.21, allocations: 13.78 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.21, allocations: 3.984 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.21, allocations: 34.56 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.21, allocations: 0 / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/0.2102, allocations: 57.55 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2103, allocations: 77.11 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2104, allocations: 173.9 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.2104, allocations: 29.64 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.2105, allocations: 111.9 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.2105, allocations: 4 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2105, allocations: 3.938 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2106, allocations: 319.1 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.2106, allocations: 11.98 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.2106, allocations: 17.72 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.2107, allocations: 11.94 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2107, allocations: 0 / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.848e-05/0.2108, allocations: 73.39 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2108, allocations: 4 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2108, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2108, allocations: 8.062 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.2109, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2109, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.211, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.211, allocations: 3.984 kB / 0.9826 GB, free: 24.21 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 7.339e-05/0.2111, allocations: 115.2 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.2111, allocations: 15.84 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2111, allocations: 12.56 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2112, allocations: 0 / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2112, allocations: 4 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2112, allocations: 4 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.2115, allocations: 482.6 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2115, allocations: 4 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.2115, allocations: 0 / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2115, allocations: 4 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.2116, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2116, allocations: 4.062 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2116, allocations: 3.938 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.2116, allocations: 85.84 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2117, allocations: 85.02 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2117, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.2117, allocations: 3.984 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.2118, allocations: 4.031 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2118, allocations: 0 / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.249e-05/0.2119, allocations: 132.9 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2119, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002179/0.2121, allocations: 8 kB / 0.9836 GB, free: 23.14 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.0002693/0.2124, allocations: 0.6286 MB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.2124, allocations: 16 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2125, allocations: 3.938 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.2125, allocations: 4 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.2126, allocations: 8 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.2134, allocations: 0.5903 MB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2135, allocations: 0.7004 MB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.2135, allocations: 12.36 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.2136, allocations: 23.44 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2136, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.225, allocations: 1.595 MB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.2252, allocations: 196.6 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.916, allocations: 3.438 kB / 0.9873 GB, free: 19.39 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)