Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.34/1.34, allocations: 251.5 MB / 266.7 MB, free: 11 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.0009272/0.0009272, allocations: 174.5 kB / 325.9 MB, free: 2.668 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.483/1.483, 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.0007586/0.0007587, allocations: 89.17 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 12.53 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0008631/0.1519, allocations: 0.5881 MB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.396e-05/0.1521, allocations: 51.7 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.1521, allocations: 4 kB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.1521, allocations: 3.938 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.1522, allocations: 3.938 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.612e-05/0.1523, allocations: 19.98 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.633e-05/0.1524, allocations: 63.84 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1525, allocations: 33.61 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.1525, allocations: 31.8 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1526, allocations: 23.8 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1526, allocations: 7.984 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-06/0.1526, allocations: 0 / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1526, allocations: 7.938 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.1527, allocations: 31.73 kB / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.711e-05/0.1527, allocations: 71.73 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1528, allocations: 0 / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1528, allocations: 0 / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1528, allocations: 3.938 kB / 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.0002873/0.1531, allocations: 367.3 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1531, allocations: 12.03 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.1531, allocations: 42.73 kB / 0.8975 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1532, allocations: 20.69 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1533, allocations: 196.1 kB / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.1533, allocations: 384 / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1533, allocations: 12.38 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1535, allocations: 96.7 kB / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1535, allocations: 3.938 kB / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1535, allocations: 0 / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1535, allocations: 4 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.1536, allocations: 35.98 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1539, allocations: 452.5 kB / 0.8983 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.154, allocations: 37.28 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.154, allocations: 13.72 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.154, allocations: 4 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.154, allocations: 42.58 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.154, allocations: 4 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.1542, allocations: 57.48 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1542, allocations: 77.11 kB / 0.8985 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.1543, allocations: 170.2 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.1543, allocations: 25.7 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.1544, allocations: 111.9 kB / 0.8988 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.1544, allocations: 15.88 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.1544, allocations: 9.969 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.1544, allocations: 330.8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.1545, allocations: 8 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.1545, allocations: 13.72 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.1545, allocations: 29.66 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1545, allocations: 0 / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.49e-05/0.1546, allocations: 65.59 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1546, allocations: 7.938 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1546, allocations: 7.984 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1546, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.1547, allocations: 11.88 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1547, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.1547, allocations: 7.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.1547, allocations: 0 / 0.8993 GB, free: 64.6 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.392e-05/0.1548, allocations: 117.8 kB / 0.8994 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1548, allocations: 19.81 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.1549, allocations: 12.56 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1549, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1549, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1549, allocations: 3.938 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.1551, allocations: 478.8 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1551, allocations: 0 / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.1552, allocations: 4.062 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1552, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.1552, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1552, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1552, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.426e-05/0.1553, allocations: 89.77 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.1553, allocations: 89.02 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1553, allocations: 8.016 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.1553, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.1554, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1554, allocations: 4 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.1554, allocations: 124.9 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000159/0.1556, allocations: 8 kB / 0.9002 GB, free: 63.54 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.0001985/0.1558, allocations: 0.6298 MB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.1559, allocations: 12 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1559, allocations: 0 / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.1559, 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.0001338/0.156, allocations: 8.266 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.1568, allocations: 1.402 MB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.1569, allocations: 0.6965 MB / 0.9029 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3e-05/0.1569, allocations: 8.422 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.157, allocations: 27.38 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.157, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.178/0.335, allocations: 1.477 MB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.3353, allocations: 223.7 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.901, allocations: 10.34 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)