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.338/1.338, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009735/0.0009735, allocations: 177.4 kB / 325.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205 MB / 0.576 GB, free: 21 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.0006946/0.0006946, allocations: 85.59 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.000324, allocations: 10.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.0007944/0.1688, allocations: 0.592 MB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.969e-05/0.1689, allocations: 47.72 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.1689, allocations: 0 / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.169, allocations: 7.922 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.169, allocations: 7.938 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.472e-05/0.1691, allocations: 15.98 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.1692, allocations: 63.84 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1693, allocations: 41.61 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1693, allocations: 23.8 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.1694, allocations: 31.78 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1694, allocations: 4 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.1694, allocations: 4 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1694, allocations: 3.938 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.1695, allocations: 31.75 kB / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.1696, allocations: 71.72 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1696, allocations: 3.938 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1696, allocations: 3.938 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1696, allocations: 0 / 0.8971 GB, free: 67.12 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.0002782/0.1699, allocations: 375.3 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1699, allocations: 8.031 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.1699, allocations: 46.67 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.17, allocations: 12.75 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1701, allocations: 188.2 kB / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1701, allocations: 4.375 kB / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1701, allocations: 8.375 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1703, allocations: 99.5 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1703, allocations: 7.938 kB / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1703, allocations: 4 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1703, allocations: 0 / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.1704, allocations: 35.98 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1707, allocations: 448.5 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.1708, allocations: 41.22 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.1708, allocations: 13.78 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1708, allocations: 8.031 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.1709, allocations: 30.56 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1709, allocations: 0 / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.171, allocations: 65.47 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.171, allocations: 77.11 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.1711, allocations: 170.2 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.1711, allocations: 25.7 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1712, allocations: 115.9 kB / 0.8988 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.1712, allocations: 7.891 kB / 0.8988 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.1712, allocations: 9.719 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.1713, allocations: 327.1 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.1713, allocations: 12 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.1713, allocations: 17.7 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.1713, allocations: 29.66 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1713, allocations: 4 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.465e-05/0.1714, allocations: 57.59 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1714, allocations: 16 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1714, allocations: 3.938 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1715, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1715, allocations: 7.938 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1715, allocations: 4 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.1716, allocations: 3.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1716, allocations: 4 kB / 0.8993 GB, free: 64.61 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 4.301e-05/0.1716, allocations: 113.8 kB / 0.8994 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.1717, allocations: 19.75 kB / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.1717, allocations: 16.55 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1717, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1717, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1717, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.172, allocations: 478.8 kB / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.172, allocations: 0 / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.172, allocations: 8 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.172, allocations: 64 / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.172, allocations: 8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.172, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.172, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.553e-05/0.1721, allocations: 85.77 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.1721, allocations: 89.02 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1721, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.1722, allocations: 4.031 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.1722, allocations: 8.078 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1722, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.1723, allocations: 128.9 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1723, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002903/0.1726, allocations: 8 kB / 0.9002 GB, free: 63.55 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.0002512/0.1728, allocations: 0.6247 MB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.1729, allocations: 16 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1729, allocations: 0 / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.1729, allocations: 11.94 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1732, allocations: 4 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.174, allocations: 1.396 MB / 0.9022 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.942e-05/0.1741, allocations: 0.7082 MB / 0.9029 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1741, allocations: 4.438 kB / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1741, allocations: 31.36 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.1741, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/0.3265, allocations: 1.472 MB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.3268, allocations: 214.7 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.928, allocations: 0 / 0.9046 GB, free: 59.03 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)