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.457/1.457, allocations: 249.5 MB / 257 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 184.9 kB / 316.3 MB, free: 3.309 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.713/1.713, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008129/0.0008126, allocations: 94.52 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.137e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1852, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6515/0.8367, allocations: 131.6 MB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.8369, allocations: 65.56 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00269/0.8396, allocations: 1.143 MB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8397, allocations: 4 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.8397, allocations: 0 / 1.015 GB, free: 5.047 MB / 0.6355 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.0003871/0.8401, allocations: 377.6 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.8401, allocations: 8.031 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.8402, allocations: 15.84 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.8404, allocations: 178.9 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.8404, allocations: 4 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.8405, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.8406, allocations: 36.48 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.8407, allocations: 79.72 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8407, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.8407, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8407, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.8412, allocations: 420.3 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/0.8413, allocations: 44.03 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.8413, allocations: 17.16 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.8413, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.8414, allocations: 34.17 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8414, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.8415, allocations: 56.72 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.8416, allocations: 77.11 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.8417, allocations: 122.9 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.8417, allocations: 25.7 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.8418, allocations: 114.7 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.8418, allocations: 3.906 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.8418, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8419, allocations: 324.9 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.842, allocations: 11.31 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.842, allocations: 17.16 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.842, allocations: 7.375 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.842, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.194e-05/0.8421, allocations: 64.23 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8421, allocations: 8 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8422, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8422, allocations: 4.062 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.8422, allocations: 8.562 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.8423, allocations: 0 / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.8423, allocations: 3.938 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.8423, allocations: 3.938 kB / 1.017 GB, free: 2.902 MB / 0.6355 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 () * 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.818e-05/0.8424, allocations: 105 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.233e-05/0.8425, allocations: 56.73 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.8425, allocations: 7.938 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.8426, allocations: 15.89 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8426, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8426, allocations: 7.938 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8426, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.843, allocations: 458 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.843, allocations: 0 / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.8431, allocations: 4 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8431, allocations: 64 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8431, allocations: 4 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8431, allocations: 3.984 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8431, allocations: 4.094 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.8432, allocations: 90.28 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.8433, allocations: 85 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.8433, allocations: 8.031 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.8433, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.8433, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.8433, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.8434, allocations: 106.6 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8434, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001939/0.8436, allocations: 11.91 kB / 1.018 GB, free: 1.887 MB / 0.6355 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 () * 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.0003474/0.8439, allocations: 0.7012 MB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.844, allocations: 11.94 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.844, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.844, allocations: 4 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.8442, allocations: 15.36 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.8445, allocations: 144.9 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.8448, allocations: 0.6963 MB / 1.019 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.8448, allocations: 4.188 kB / 1.019 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.8449, allocations: 24.36 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.8449, allocations: 7.938 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.8619, allocations: 0.9826 MB / 1.02 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.8622, allocations: 161.2 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.366/2.228, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 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)