Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 13.31 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001161/0.2619, allocations: 0.5403 MB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.2621, allocations: 47.78 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.2622, allocations: 4 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.2622, allocations: 3.938 kB / 0.7878 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2623, allocations: 11.92 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.143e-05/0.2623, allocations: 12 kB / 0.7878 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.2624, allocations: 43.88 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2626, allocations: 33.58 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.2627, allocations: 19.86 kB / 0.7879 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.2627, allocations: 27.78 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2628, allocations: 0 / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.2628, allocations: 4 kB / 0.788 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.2628, allocations: 11.88 kB / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.2629, allocations: 37.64 kB / 0.788 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.2629, allocations: 60.08 kB / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.263, allocations: 4 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.263, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.263, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 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.0004364/0.2634, allocations: 383 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.2635, allocations: 8.031 kB / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.2635, allocations: 38.56 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.2636, allocations: 7.906 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2638, allocations: 202 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2638, allocations: 12 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.2639, allocations: 11.98 kB / 0.7887 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.264, allocations: 84.59 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.264, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2641, allocations: 8 kB / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2641, allocations: 0 / 0.7888 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.2642, allocations: 43.91 kB / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.2648, allocations: 440.5 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.2648, allocations: 49.28 kB / 0.7893 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.2648, allocations: 0 / 0.7893 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2649, allocations: 38.56 kB / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2649, allocations: 0 / 0.7893 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.2651, allocations: 53.61 kB / 0.7894 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2651, allocations: 77.11 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2653, allocations: 175.3 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2653, allocations: 25.7 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.2654, allocations: 111.9 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.2655, allocations: 12.25 kB / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2655, allocations: 0 / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2656, allocations: 318.8 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.2656, allocations: 7.938 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.2656, allocations: 25.66 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.2657, allocations: 8 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2657, allocations: 0 / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.039e-05/0.2658, allocations: 73.45 kB / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2658, allocations: 7.938 kB / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2658, allocations: 0 / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2658, allocations: 0 / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.2659, allocations: 8 kB / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2659, allocations: 3.938 kB / 0.7902 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.266, allocations: 0 / 0.7902 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.266, allocations: 4 kB / 0.7902 GB, free: 8.539 MB / 0.6075 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 8.414e-05/0.2661, allocations: 117.8 kB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.2661, allocations: 15.92 kB / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2661, allocations: 12.56 kB / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2661, allocations: 0 / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2662, allocations: 0 / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2662, allocations: 0 / 0.7903 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.2665, allocations: 490.6 kB / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2666, allocations: 0 / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.2666, allocations: 8.062 kB / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2666, allocations: 0 / 0.7908 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2666, allocations: 4 kB / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2666, allocations: 4 kB / 0.7908 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2666, allocations: 0 / 0.7908 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.892e-05/0.2667, allocations: 91.5 kB / 0.7909 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.2668, allocations: 97.03 kB / 0.791 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2668, allocations: 4 kB / 0.791 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.2668, allocations: 4 kB / 0.791 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2669, allocations: 0 / 0.791 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2669, allocations: 0 / 0.791 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.261e-05/0.267, allocations: 128 kB / 0.7911 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.267, allocations: 0 / 0.7911 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001816/0.2671, allocations: 8 kB / 0.7911 GB, free: 7.457 MB / 0.6075 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.0003712/0.2675, allocations: 0.703 MB / 0.7918 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.954e-05/0.2676, allocations: 12 kB / 0.7918 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2676, allocations: 160 / 0.7918 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.438e-05/0.2676, allocations: 23.88 kB / 0.7919 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.2678, allocations: 7.984 kB / 0.7919 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.2687, allocations: 0.731 MB / 0.7926 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2689, allocations: 0.6965 MB / 0.7933 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.789e-05/0.269, allocations: 16.5 kB / 0.7933 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.2691, allocations: 23.44 kB / 0.7933 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2691, allocations: 0 / 0.7933 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.2794, allocations: 1.574 MB / 0.7948 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.2796, allocations: 191.2 kB / 0.795 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.324, allocations: 0 / 0.795 GB, free: 3.445 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) Environment - environmentSimulation: