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_Btu.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_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001312/0.001312, allocations: 177.1 kB / 326.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008888/0.0008888, allocations: 100.2 kB / 0.6821 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 9.438 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 106.3 MB / 0.9002 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.3438, allocations: 131.4 MB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3441, allocations: 63.97 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002608/0.3467, allocations: 1.161 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3468, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3468, allocations: 224 / 1.03 GB, free: 11.11 MB / 0.6823 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.0004004/0.3472, allocations: 386.9 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3472, allocations: 12.03 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.3473, allocations: 38.55 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3473, allocations: 15.81 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3475, allocations: 179.6 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3475, allocations: 8 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3475, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3477, allocations: 95.38 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3477, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3477, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3477, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.3478, allocations: 43.92 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.3484, allocations: 452.5 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.3485, allocations: 41.34 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.3485, allocations: 3.938 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3485, allocations: 38.55 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3485, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.3487, allocations: 57.61 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3487, allocations: 77.11 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3489, allocations: 165.2 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3489, allocations: 25.7 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.349, allocations: 108 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.357e-06/0.349, allocations: 12.08 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.349, allocations: 4 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3491, allocations: 323.5 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.3491, allocations: 8 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.3491, allocations: 17.72 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.3492, allocations: 12 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3492, allocations: 3.953 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.41e-05/0.3493, allocations: 69.62 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3493, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3493, allocations: 0 / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3493, allocations: 3.984 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.3494, allocations: 8 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3494, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.3495, allocations: 11.83 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.3495, allocations: 4 kB / 1.032 GB, free: 8.656 MB / 0.6823 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.297e-05/0.3495, allocations: 113.8 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3496, allocations: 15.92 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.3496, allocations: 12.56 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3496, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3496, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3496, allocations: 4 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.35, allocations: 482.8 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.35, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.3501, allocations: 8.062 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3501, allocations: 0 / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3501, allocations: 0 / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3501, allocations: 7.984 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3501, allocations: 3.938 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3502, allocations: 87.58 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.3503, allocations: 93.03 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3503, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.3503, allocations: 4 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.3503, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3504, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.3505, allocations: 132.8 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3505, allocations: 0 / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001799/0.3506, allocations: 15.84 kB / 1.033 GB, free: 7.578 MB / 0.6823 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.0004381/0.3511, allocations: 0.7047 MB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.035e-05/0.3512, allocations: 19.98 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3512, allocations: 0 / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.3512, allocations: 12.09 kB / 1.033 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.3514, allocations: 8 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.3523, allocations: 0.7454 MB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3527, allocations: 0.7004 MB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.187e-05/0.3528, allocations: 12.42 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.3528, allocations: 23.44 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.3528, allocations: 0 / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.3648, allocations: 1.588 MB / 1.036 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.365, allocations: 197.9 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.89, allocations: 0 / 1.037 GB, free: 3.586 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)