Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 176.9 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000904/0.0009037, allocations: 82.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 9.188 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2559, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001059/0.2571, allocations: 0.5808 MB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.2572, allocations: 43.78 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.2573, allocations: 0 / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.2574, allocations: 11.92 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2575, allocations: 7.938 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.216e-05/0.2576, allocations: 15.98 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2577, allocations: 63.78 kB / 0.9016 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2578, allocations: 41.38 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.2579, allocations: 15.88 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2579, allocations: 31.73 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.258, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.258, allocations: 4 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.258, allocations: 7.922 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.2581, allocations: 57.45 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.2582, allocations: 75.67 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2582, allocations: 0 / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2582, allocations: 0 / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2582, allocations: 0 / 0.9018 GB, free: 62.39 MB / 0.6042 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.0004058/0.2586, allocations: 371.5 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.2587, allocations: 11.97 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2587, allocations: 42.75 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.2588, allocations: 16.73 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2589, allocations: 197.6 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.259, allocations: 4.375 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.259, allocations: 12.38 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2592, allocations: 91.94 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2592, allocations: 3.938 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2592, allocations: 4 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2592, allocations: 0 / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.2593, allocations: 39.92 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.2598, allocations: 452.5 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/0.2598, allocations: 45.34 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.2599, allocations: 13.78 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2599, allocations: 4 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.2599, allocations: 34.56 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2599, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.2601, allocations: 61.47 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2601, allocations: 77.11 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2603, allocations: 170.2 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.2603, allocations: 29.95 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.2604, allocations: 111.9 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-06/0.2604, allocations: 3.906 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2604, allocations: 3.938 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.2604, allocations: 322.8 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.2605, allocations: 11.94 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.2605, allocations: 13.72 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.2605, allocations: 33.7 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2605, allocations: 0 / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.687e-05/0.2606, allocations: 61.55 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2606, allocations: 7.938 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2607, allocations: 4 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2607, allocations: 0 / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.2607, allocations: 7.984 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2608, allocations: 0 / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.2608, allocations: 12 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2608, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.2609, allocations: 113.8 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2609, allocations: 15.84 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.261, allocations: 20.53 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.261, allocations: 7.875 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.261, allocations: 4 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.261, allocations: 0 / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2613, allocations: 474.8 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2613, allocations: 7.938 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.2613, allocations: 0 / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2613, allocations: 7.984 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2613, allocations: 0 / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2614, allocations: 0 / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2614, allocations: 0 / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.678e-05/0.2614, allocations: 85.91 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2615, allocations: 93 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2615, allocations: 0 / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.2615, allocations: 0 / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.2616, allocations: 0 / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2616, allocations: 7.938 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.2616, allocations: 120.9 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2616, allocations: 4.031 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001721/0.2618, allocations: 12 kB / 0.905 GB, free: 58.83 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002437/0.2621, allocations: 0.617 MB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.2622, allocations: 27.95 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2622, allocations: 3.938 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.2622, allocations: 4 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.2624, allocations: 11.94 kB / 0.9056 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2634, allocations: 1.391 MB / 0.907 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2636, allocations: 0.6926 MB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.2636, allocations: 12.42 kB / 0.9076 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.2637, allocations: 27.42 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2637, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.2761, allocations: 1.481 MB / 0.9091 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.2763, allocations: 221.9 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.03, allocations: 1.969 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)