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.424/1.424, allocations: 252 MB / 267 MB, free: 10.96 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.001209/0.00121, allocations: 182.4 kB / 326.6 MB, free: 2.207 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.096/2.096, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008716/0.0008716, allocations: 99.36 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 11.41 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001038/0.226, allocations: 0.5538 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.2262, allocations: 47.72 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.2263, allocations: 0 / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.2263, allocations: 3.938 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2264, allocations: 15.91 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.419e-05/0.2265, allocations: 15.94 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.2266, allocations: 59.84 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2267, allocations: 29.56 kB / 0.901 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.2268, allocations: 19.88 kB / 0.901 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.2269, allocations: 27.78 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2269, allocations: 8 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.2269, allocations: 0 / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2269, allocations: 11.94 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.2269, allocations: 37.64 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.227, allocations: 55.86 kB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.227, allocations: 0 / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.227, allocations: 0 / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.227, allocations: 0 / 0.9012 GB, free: 62.87 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.0003412/0.2274, allocations: 367.4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2274, allocations: 16.03 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2275, allocations: 38.55 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2275, allocations: 19.75 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2277, allocations: 196.4 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2277, allocations: 8 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2277, allocations: 7.984 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.2279, allocations: 98.27 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2279, allocations: 0 / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2279, allocations: 4 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2279, allocations: 8 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.228, allocations: 39.92 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.2285, allocations: 440.5 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.2285, allocations: 49.28 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.2286, allocations: 17.84 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.2286, allocations: 0 / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.2286, allocations: 34.55 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.2286, allocations: 0 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.2288, allocations: 57.7 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.2289, allocations: 85.11 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.229, allocations: 166.2 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.229, allocations: 25.7 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.2291, allocations: 108 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.2291, allocations: 7.891 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.2291, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.2291, allocations: 322.8 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.2292, allocations: 15.92 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.2292, allocations: 17.72 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.2292, allocations: 8 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2292, allocations: 3.953 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.499e-05/0.2293, allocations: 65.53 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2293, allocations: 4 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2293, allocations: 7.984 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2294, allocations: 0 / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.2294, allocations: 8.062 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2294, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.2295, allocations: 11.84 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2295, allocations: 0 / 0.9033 GB, free: 60.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.2295, allocations: 117.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.2296, allocations: 11.86 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.2296, allocations: 16.55 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2296, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2296, allocations: 4 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2296, allocations: 4 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.2299, allocations: 478.8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2299, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.23, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.23, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.23, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.23, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.23, allocations: 4.062 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.835e-05/0.2301, allocations: 85.78 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.2301, allocations: 88.92 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.2301, allocations: 4 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.495e-05/0.2302, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.2302, allocations: 3.984 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2302, allocations: 8.031 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.2302, allocations: 124.9 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2303, allocations: 0 / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001731/0.2304, allocations: 8 kB / 0.9043 GB, free: 59.34 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 (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.0002593/0.2307, allocations: 0.621 MB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.2308, allocations: 16 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2308, allocations: 0 / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.2308, allocations: 11.94 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.231, allocations: 8 kB / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/0.2318, allocations: 0.5985 MB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2319, allocations: 0.7004 MB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.2319, allocations: 12.5 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.232, allocations: 23.44 kB / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.232, allocations: 0 / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.2435, allocations: 1.586 MB / 0.9077 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.2438, allocations: 204.3 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.77, allocations: 0 / 0.9079 GB, free: 55.57 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)