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_hp.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_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.499/1.499, allocations: 252 MB / 267.3 MB, free: 10.85 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.000939/0.000939, allocations: 176.5 kB / 327 MB, free: 2.094 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.146/2.146, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.001138/0.001138, allocations: 92.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 17.09 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001412/0.3204, allocations: 0.5808 MB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.3207, allocations: 51.77 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.3208, allocations: 0 / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.3208, allocations: 3.938 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.3209, allocations: 7.922 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.433e-05/0.321, allocations: 16 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3211, allocations: 67.78 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3213, allocations: 33.39 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.3214, allocations: 19.86 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.3215, allocations: 23.8 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3215, allocations: 8 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.3215, allocations: 0 / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.3216, allocations: 15.88 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3217, allocations: 57.42 kB / 0.9018 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3218, allocations: 71.69 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3218, allocations: 0 / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3218, allocations: 0 / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3219, allocations: 0 / 0.9018 GB, free: 62.46 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.0004722/0.3223, allocations: 371.5 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.3224, allocations: 16.03 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.3225, allocations: 34.75 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.996e-05/0.3225, allocations: 16.75 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3228, allocations: 210.5 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3228, allocations: 4.375 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3228, allocations: 8.375 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.323, allocations: 87.95 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.323, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.323, allocations: 8 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.323, allocations: 4 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.3231, allocations: 39.92 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.3238, allocations: 440.6 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/0.3239, allocations: 49.31 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.3239, allocations: 17.7 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3239, allocations: 7.984 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3239, allocations: 30.56 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3239, allocations: 0 / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.3242, allocations: 65.7 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3242, allocations: 77.11 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3244, allocations: 170.2 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.3244, allocations: 25.7 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3245, allocations: 107.9 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.3245, allocations: 7.906 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.3245, allocations: 3.938 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.3246, allocations: 318.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.3246, allocations: 12.03 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.3246, allocations: 25.66 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.3247, allocations: 21.72 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3247, allocations: 0 / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.317e-05/0.3248, allocations: 65.53 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3248, allocations: 7.938 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3248, allocations: 4.062 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3249, allocations: 4 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.3249, allocations: 8 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.325, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.325, allocations: 7.938 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.325, allocations: 0 / 0.904 GB, free: 59.96 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 8.201e-05/0.3251, allocations: 117.8 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.3252, allocations: 15.75 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3252, allocations: 12.56 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3252, allocations: 4 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3252, allocations: 4 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3252, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.3256, allocations: 482.7 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3256, allocations: 4 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.3257, allocations: 0 / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3257, allocations: 7.938 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3257, allocations: 64 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3257, allocations: 4 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3257, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.3258, allocations: 81.83 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3258, allocations: 89 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3259, allocations: 4 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.3259, allocations: 0 / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3259, allocations: 4.031 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3259, allocations: 4 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.326, allocations: 124.9 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001959/0.3262, allocations: 8 kB / 0.9049 GB, free: 58.9 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.0003225/0.3265, allocations: 0.6286 MB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.3266, allocations: 19.94 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3267, allocations: 0 / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.3267, allocations: 8 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3269, allocations: 18.16 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3281, allocations: 1.391 MB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3283, allocations: 0.7004 MB / 0.9076 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.3284, allocations: 8.422 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.3284, allocations: 19.44 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.3284, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3417, allocations: 1.474 MB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.342, allocations: 222.5 kB / 0.9093 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.153, allocations: 0 / 0.9093 GB, free: 54.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)