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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.666/1.666, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001167/0.001167, allocations: 184.3 kB / 371.8 MB, free: 10.3 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.605/1.605, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.00081/0.0008096, allocations: 97.31 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005321, allocations: 12.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2537, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009751/0.2547, allocations: 0.5329 MB / 0.98 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.2548, allocations: 51.7 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.2549, allocations: 4 kB / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.2549, allocations: 3.938 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.255, allocations: 4 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.524e-05/0.255, allocations: 15.98 kB / 0.9801 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.2551, allocations: 47.88 kB / 0.9801 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2553, allocations: 25.58 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.2553, allocations: 27.8 kB / 0.9802 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.2554, allocations: 23.84 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2554, allocations: 8 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.2555, allocations: 0 / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.2555, allocations: 11.94 kB / 0.9802 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.2555, allocations: 37.64 kB / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.085e-05/0.2556, allocations: 56.08 kB / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.2556, allocations: 0 / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2556, allocations: 0 / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2556, allocations: 4 kB / 0.9803 GB, free: 26.77 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.0003493/0.256, allocations: 375.8 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.256, allocations: 16.02 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.2561, allocations: 38.56 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.2561, allocations: 7.906 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2563, allocations: 201.5 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2563, allocations: 8 kB / 0.9809 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2564, allocations: 4 kB / 0.9809 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2565, allocations: 93.05 kB / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2566, allocations: 4 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2566, allocations: 8 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2566, allocations: 0 / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.2567, allocations: 35.98 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.2573, allocations: 444.5 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.2574, allocations: 45.17 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2574, allocations: 0 / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2574, allocations: 42.58 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2574, allocations: 3.938 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002155/0.2576, allocations: 53.67 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2577, allocations: 81.3 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2578, allocations: 169.9 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2579, allocations: 29.69 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.2579, allocations: 107.9 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.2579, allocations: 11.97 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.258, allocations: 4 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.258, allocations: 318.8 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.2581, allocations: 11.92 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.2581, allocations: 21.72 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.2581, allocations: 12 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2582, allocations: 0 / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001118/0.2583, allocations: 73.39 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2583, allocations: 4 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2583, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2583, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.2584, allocations: 8 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2584, allocations: 0 / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.2585, allocations: 8.062 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.2585, allocations: 0 / 0.9824 GB, free: 24.32 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.935e-05/0.2586, allocations: 113.8 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.2587, allocations: 15.94 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.2587, allocations: 16.55 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2587, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2587, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2587, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.2592, allocations: 490.6 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2592, allocations: 0 / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.2592, allocations: 4 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2593, allocations: 3.938 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2593, allocations: 4 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2593, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2593, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.2594, allocations: 95.62 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2594, allocations: 89.02 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2595, allocations: 4 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.2595, allocations: 0 / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.2595, allocations: 3.984 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2595, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.207e-05/0.2596, allocations: 132.9 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2597, allocations: 3.938 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003253/0.26, allocations: 12 kB / 0.9834 GB, free: 23.24 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.0002813/0.2603, allocations: 0.7031 MB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.2604, allocations: 19.94 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2604, allocations: 3.938 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.2604, allocations: 8 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2606, allocations: 4.75 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.2616, allocations: 0.7266 MB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2617, allocations: 0.7082 MB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.2618, allocations: 4.438 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2618, allocations: 27.42 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2618, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.2755, allocations: 1.589 MB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.2757, allocations: 214.5 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.746, allocations: 4 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)