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_Btu.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_Btu,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.468/1.468, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.0009084/0.0009084, allocations: 183.4 kB / 372.3 MB, free: 10.12 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.228/1.228, allocations: 205.4 MB / 0.631 GB, free: 9.781 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.0006942/0.0006943, allocations: 90.3 kB / 0.7444 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 16.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0007577/0.1707, allocations: 0.529 MB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.734e-05/0.1708, allocations: 47.78 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.1709, allocations: 3.938 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1709, allocations: 3.938 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.171, allocations: 7.922 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.319e-05/0.171, allocations: 12 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.1711, allocations: 59.84 kB / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1712, allocations: 45.36 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.1712, allocations: 15.88 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.1713, allocations: 23.8 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1713, allocations: 4 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.1713, allocations: 7.938 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1713, allocations: 15.92 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.1714, allocations: 49.52 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.895e-05/0.1714, allocations: 60.08 kB / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1715, allocations: 0 / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1715, allocations: 0 / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1715, allocations: 0 / 0.9811 GB, free: 26.33 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.0002664/0.1717, allocations: 375.2 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1718, allocations: 12.03 kB / 0.9814 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.1718, allocations: 42.73 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.1718, allocations: 16.78 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.172, allocations: 196.1 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.172, allocations: 8.281 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.172, allocations: 8.375 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1721, allocations: 95.89 kB / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1722, allocations: 3.938 kB / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1722, allocations: 0 / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1722, allocations: 8 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.098e-05/0.1722, allocations: 35.98 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1726, allocations: 448.5 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.1727, allocations: 41.16 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.1727, allocations: 17.84 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1727, allocations: 0 / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.1727, allocations: 38.59 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1727, allocations: 0 / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1729, allocations: 57.47 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1729, allocations: 85.36 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.173, allocations: 169.9 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-06/0.173, allocations: 25.7 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.1731, allocations: 108 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.1731, allocations: 7.891 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1731, allocations: 0 / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.1731, allocations: 318.8 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.1732, allocations: 11.98 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.1732, allocations: 21.72 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.1732, allocations: 33.59 kB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1732, allocations: 0 / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.47e-05/0.1733, allocations: 57.59 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1733, allocations: 12.88 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1733, allocations: 0 / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1733, allocations: 64 / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.1734, allocations: 8 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1734, allocations: 7.938 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.1734, allocations: 3.906 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.1735, allocations: 0 / 0.9832 GB, free: 23.84 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 4.703e-05/0.1735, allocations: 121.8 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.1735, allocations: 15.84 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.1736, allocations: 12.55 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1736, allocations: 4 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1736, allocations: 4 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1736, allocations: 4.031 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1738, allocations: 486.7 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1739, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1739, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1739, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.1739, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1739, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1739, allocations: 4.062 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.673e-05/0.174, allocations: 90.55 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.174, allocations: 89.02 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.174, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.174, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.1741, allocations: 3.984 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1741, allocations: 8.031 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.1741, allocations: 128.9 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1741, allocations: 0 / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001687/0.1743, allocations: 8 kB / 0.9842 GB, free: 22.76 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.0001925/0.1745, allocations: 0.621 MB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.1746, allocations: 16 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1746, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1746, allocations: 8 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1747, allocations: 13.94 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.1753, allocations: 0.5858 MB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.638e-05/0.1754, allocations: 0.7004 MB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.1755, allocations: 4.438 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.1755, allocations: 27.42 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.1755, allocations: 0 / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1865, allocations: 1.587 MB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.1867, allocations: 205 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.37/1.557, allocations: 0 / 0.9878 GB, free: 19.02 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)