Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.834/1.834, allocations: 288.4 MB / 303.3 MB, free: 8.219 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.00097/0.00097, allocations: 178.6 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.834/1.834, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008461/0.0008458, allocations: 94.86 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004933, allocations: 15.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001236/0.2574, allocations: 0.5251 MB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.2576, allocations: 47.77 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.2577, allocations: 4 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.2577, allocations: 3.938 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2579, allocations: 7.922 kB / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.232e-05/0.2579, allocations: 12 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.258, allocations: 59.84 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2582, allocations: 37.55 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.2583, allocations: 19.81 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.2584, allocations: 27.78 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.2584, allocations: 4 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.2584, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.2585, allocations: 11.94 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.2585, allocations: 41.64 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2586, allocations: 60.08 kB / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2586, allocations: 0 / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2586, allocations: 0 / 0.9805 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2587, allocations: 0 / 0.9805 GB, free: 26.69 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.0004624/0.2591, allocations: 379 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.2592, allocations: 12.02 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.2592, allocations: 46.55 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.2593, allocations: 11.91 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2595, allocations: 198.8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2596, allocations: 4 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2596, allocations: 8 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2598, allocations: 88.8 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2598, allocations: 0 / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2598, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2598, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.648e-05/0.2599, allocations: 43.86 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.2605, allocations: 444.5 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.178e-05/0.2605, allocations: 45.23 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.2606, allocations: 21.84 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2606, allocations: 0 / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2606, allocations: 34.56 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.2606, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.2608, allocations: 61.53 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2609, allocations: 81.3 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.261, allocations: 169.9 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.261, allocations: 25.7 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2611, allocations: 111.9 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.2611, allocations: 3.984 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.2611, allocations: 0 / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.2612, allocations: 318.8 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.2612, allocations: 15.92 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.2612, allocations: 21.7 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.2613, allocations: 12 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2613, allocations: 0 / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.489e-05/0.2614, allocations: 69.39 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2614, allocations: 8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2614, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2614, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.2615, allocations: 4 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2615, allocations: 4 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.2616, allocations: 4.062 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2616, allocations: 8 kB / 0.9826 GB, free: 24.21 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 6.757e-05/0.2616, allocations: 107.2 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.2617, allocations: 19.86 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2617, allocations: 8.547 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2617, allocations: 4 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2617, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2617, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2621, allocations: 494.6 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2621, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.2621, allocations: 4 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2621, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2621, allocations: 3.938 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2621, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2621, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.127e-05/0.2622, allocations: 89.91 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.2623, allocations: 88.95 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2623, allocations: 4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.509e-05/0.2623, allocations: 0 / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.2624, allocations: 7.984 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2624, allocations: 0 / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.063e-05/0.2624, allocations: 128.9 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2625, allocations: 4.031 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001819/0.2626, allocations: 8 kB / 0.9836 GB, free: 23.15 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.0003248/0.263, allocations: 0.6209 MB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.2631, allocations: 23.97 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2631, allocations: 3.938 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.2631, allocations: 8 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.2633, allocations: 8.859 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.2641, allocations: 0.5824 MB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2642, allocations: 0.7004 MB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.2643, allocations: 4.438 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.2643, allocations: 27.42 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2643, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.2771, allocations: 1.604 MB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.2774, allocations: 203 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.795, allocations: 0 / 0.9873 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)