Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.0009493/0.0009493, allocations: 176.5 kB / 372 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.803/1.803, allocations: 205.4 MB / 0.6307 GB, free: 10 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.001042/0.001042, allocations: 93.72 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 16.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001003/0.2561, allocations: 0.5251 MB / 0.9802 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/0.2562, allocations: 43.78 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.2563, allocations: 7.875 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.2563, allocations: 7.922 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.152e-05/0.2564, allocations: 3.938 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.026e-05/0.2564, allocations: 19.98 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.2565, allocations: 59.84 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2567, allocations: 29.58 kB / 0.9803 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.2567, allocations: 19.84 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.2568, allocations: 27.8 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2568, allocations: 0 / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.2568, allocations: 8 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2568, allocations: 7.938 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2569, allocations: 37.64 kB / 0.9804 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.854e-05/0.2569, allocations: 56.09 kB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.257, allocations: 0 / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.257, allocations: 0 / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.257, allocations: 0 / 0.9805 GB, free: 26.71 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.0003488/0.2573, allocations: 383 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2574, allocations: 16.02 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.2574, allocations: 38.56 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.2575, allocations: 7.906 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.2577, allocations: 202.8 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2577, allocations: 4 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2577, allocations: 11.94 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2579, allocations: 83.39 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2579, allocations: 4 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2579, allocations: 8 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2579, allocations: 4 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.258, allocations: 39.92 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.2585, allocations: 440.6 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.2585, allocations: 53.2 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.2586, allocations: 13.7 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.2586, allocations: 4.062 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2586, allocations: 34.5 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.2586, allocations: 0 / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.2588, allocations: 61.7 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2588, allocations: 81.14 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2589, allocations: 169.9 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.259, allocations: 25.7 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.259, allocations: 111.9 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-06/0.259, allocations: 4 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.259, allocations: 4 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.2591, allocations: 318.8 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.2591, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.2592, allocations: 25.66 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.2592, allocations: 12 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2592, allocations: 0 / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.355e-05/0.2593, allocations: 65.45 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2593, allocations: 8 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2593, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2593, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.2594, allocations: 16 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2594, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.2594, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2595, allocations: 4 kB / 0.9826 GB, free: 24.23 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.437e-05/0.2595, allocations: 115.4 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.2596, allocations: 15.84 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.2596, allocations: 12.56 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2596, allocations: 4.078 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2596, allocations: 0 / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2596, allocations: 4 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.26, allocations: 490.6 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.26, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.26, allocations: 4 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.26, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.26, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.26, allocations: 0 / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.26, allocations: 4.062 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.021e-05/0.2601, allocations: 89.78 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2601, allocations: 85.02 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2602, allocations: 11.92 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.2602, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.2602, allocations: 4 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.2602, allocations: 4.031 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.2603, allocations: 124.9 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2603, allocations: 3.938 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001967/0.2605, allocations: 12 kB / 0.9836 GB, free: 23.16 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.0002662/0.2608, allocations: 0.6248 MB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.2609, allocations: 16 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2609, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.2609, allocations: 7.938 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.2611, allocations: 8.859 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.2618, allocations: 0.5863 MB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.262, allocations: 0.7004 MB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.262, allocations: 8.422 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.262, allocations: 19.44 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.262, allocations: 0 / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.2746, allocations: 1.613 MB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.2748, allocations: 202.5 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.894, allocations: 0 / 0.9873 GB, free: 19.41 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)