Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009812/0.0009812, allocations: 184.3 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.578 GB, free: 20.44 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.0008399/0.0008398, allocations: 82.28 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 9.844 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001009/0.2438, allocations: 0.5808 MB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.2439, allocations: 39.78 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.2439, allocations: 0 / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.244, allocations: 7.938 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2441, allocations: 7.922 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.2442, allocations: 19.98 kB / 0.9016 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.474e-05/0.2443, allocations: 63.78 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2444, allocations: 41.38 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.2445, allocations: 19.88 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.2446, allocations: 23.73 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2446, allocations: 0 / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.2446, allocations: 4 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2446, allocations: 15.92 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.2447, allocations: 57.45 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.63e-05/0.2448, allocations: 67.67 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.2448, allocations: 4 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2448, allocations: 0 / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2448, allocations: 0 / 0.9019 GB, free: 62.77 MB / 0.6042 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.000374/0.2452, allocations: 371.5 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2453, allocations: 8.031 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.2453, allocations: 38.75 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2453, allocations: 12.75 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2455, allocations: 204.1 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2455, allocations: 8.375 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2456, allocations: 8.375 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2457, allocations: 95.92 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2457, allocations: 3.938 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2457, allocations: 4 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2458, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.2458, allocations: 47.86 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.2463, allocations: 448.5 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.2464, allocations: 41.34 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.2464, allocations: 21.78 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.2464, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2465, allocations: 30.56 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2465, allocations: 0 / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.2466, allocations: 65.47 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.2467, allocations: 77.11 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2468, allocations: 174.4 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.2468, allocations: 25.7 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.2469, allocations: 107.9 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-06/0.2469, allocations: 7.844 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.2469, allocations: 3.938 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.247, allocations: 322.8 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.247, allocations: 8 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.247, allocations: 17.72 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.2471, allocations: 37.7 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2471, allocations: 0 / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.019e-05/0.2471, allocations: 57.55 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2472, allocations: 7.938 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2472, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2472, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.2473, allocations: 11.98 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.2473, allocations: 64 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.2473, allocations: 11.94 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2473, allocations: 8 kB / 0.904 GB, free: 60.26 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.2474, allocations: 113.8 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.2474, allocations: 15.75 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.2475, allocations: 12.5 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2475, allocations: 3.984 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2475, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2475, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.2478, allocations: 482.8 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2478, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.2478, allocations: 4 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2478, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.2479, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2479, allocations: 3.984 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2479, allocations: 4 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.265e-05/0.2479, allocations: 81.91 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.248, allocations: 89 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.248, allocations: 3.938 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.456e-05/0.248, allocations: 0 / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.2481, allocations: 7.938 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.2481, allocations: 0 / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.2481, allocations: 132.9 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2482, allocations: 0 / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001779/0.2483, allocations: 8 kB / 0.905 GB, free: 59.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.2486, allocations: 0.6208 MB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.2487, allocations: 27.95 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2487, allocations: 0 / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.2488, allocations: 8 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.2489, allocations: 11.94 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.2498, allocations: 1.391 MB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2499, allocations: 0.6926 MB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.25, allocations: 12.59 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.25, allocations: 27.44 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.25, allocations: 0 / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.2629, allocations: 1.482 MB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.2631, allocations: 226 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.031, allocations: 4 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)