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_psi.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_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.319/1.319, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009162/0.0009162, allocations: 172.7 kB / 325.8 MB, free: 2.664 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.353/1.353, allocations: 205 MB / 0.576 GB, free: 20.61 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.0006748/0.000675, allocations: 98.73 kB / 0.6797 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 13.02 kB / 0.7933 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 105.4 MB / 0.8962 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0009797/0.1564, allocations: 0.5999 MB / 0.8968 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.422e-05/0.1565, allocations: 40.72 kB / 0.8968 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.1566, allocations: 0 / 0.8968 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.1566, allocations: 7.922 kB / 0.8968 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.553e-05/0.1567, allocations: 11.92 kB / 0.8969 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.991e-05/0.1568, allocations: 19.98 kB / 0.8969 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1569, allocations: 63.84 kB / 0.8969 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.157, allocations: 37.33 kB / 0.897 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.1571, allocations: 23.81 kB / 0.897 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.1571, allocations: 27.8 kB / 0.897 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1572, allocations: 0 / 0.897 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.1572, allocations: 4 kB / 0.897 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1572, allocations: 7.922 kB / 0.897 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1572, allocations: 31.75 kB / 0.8971 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.99e-05/0.1573, allocations: 71.67 kB / 0.8971 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1573, allocations: 0 / 0.8971 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1573, allocations: 4 kB / 0.8971 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1573, allocations: 0 / 0.8971 GB, free: 66.61 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.0002858/0.1576, allocations: 371.3 kB / 0.8975 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1577, allocations: 11.97 kB / 0.8975 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.1577, allocations: 38.75 kB / 0.8975 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.1577, allocations: 16.73 kB / 0.8975 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1579, allocations: 192.2 kB / 0.8977 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.1579, allocations: 4.375 kB / 0.8977 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1579, allocations: 8.375 kB / 0.8977 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.158, allocations: 103.8 kB / 0.8978 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1581, allocations: 7.938 kB / 0.8979 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1581, allocations: 0 / 0.8979 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1581, allocations: 3.984 kB / 0.8979 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.1581, allocations: 39.98 kB / 0.8979 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1585, allocations: 452.5 kB / 0.8983 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.1586, allocations: 37.22 kB / 0.8984 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.1586, allocations: 17.81 kB / 0.8984 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1586, allocations: 0 / 0.8984 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.1587, allocations: 38.56 kB / 0.8984 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1587, allocations: 0 / 0.8984 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.1588, allocations: 65.47 kB / 0.8985 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.1588, allocations: 77.11 kB / 0.8985 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.159, allocations: 174.1 kB / 0.8987 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.159, allocations: 29.7 kB / 0.8987 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.159, allocations: 103.9 kB / 0.8988 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.159, allocations: 7.906 kB / 0.8989 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.159, allocations: 9.719 kB / 0.8989 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.1591, allocations: 327.1 kB / 0.8992 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.1591, allocations: 4 kB / 0.8992 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.1591, allocations: 21.7 kB / 0.8992 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.1592, allocations: 37.59 kB / 0.8992 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1592, allocations: 0 / 0.8992 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.514e-05/0.1592, allocations: 57.61 kB / 0.8993 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1593, allocations: 12 kB / 0.8993 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1593, allocations: 3.938 kB / 0.8993 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1593, allocations: 3.984 kB / 0.8993 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.1594, allocations: 8 kB / 0.8993 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1594, allocations: 0 / 0.8993 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.1594, allocations: 3.938 kB / 0.8993 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1594, allocations: 4 kB / 0.8993 GB, free: 64.09 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.462e-05/0.1595, allocations: 113.8 kB / 0.8994 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.1595, allocations: 15.75 kB / 0.8994 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.1595, allocations: 20.55 kB / 0.8995 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1595, allocations: 0 / 0.8995 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1595, allocations: 0 / 0.8995 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1595, allocations: 4 kB / 0.8995 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1598, allocations: 474.8 kB / 0.8999 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1598, allocations: 0 / 0.8999 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1598, allocations: 7.984 kB / 0.8999 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1598, allocations: 8 kB / 0.8999 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.1599, allocations: 0 / 0.8999 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1599, allocations: 4 kB / 0.8999 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1599, allocations: 0 / 0.8999 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.732e-05/0.1599, allocations: 81.78 kB / 0.9 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.16, allocations: 89 kB / 0.9001 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.16, allocations: 4.031 kB / 0.9001 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.16, allocations: 8 kB / 0.9001 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.16, allocations: 0 / 0.9001 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.16, allocations: 0 / 0.9001 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.1601, allocations: 128.9 kB / 0.9002 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 0 / 0.9002 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000166/0.1603, allocations: 12 kB / 0.9002 GB, free: 63.03 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.0002211/0.1605, allocations: 0.6248 MB / 0.9009 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.588e-05/0.1606, allocations: 16 kB / 0.9009 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1606, allocations: 0 / 0.9009 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.1606, allocations: 7.938 kB / 0.9009 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1607, allocations: 12.22 kB / 0.9009 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.1616, allocations: 1.395 MB / 0.9023 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.5e-05/0.1617, allocations: 0.6965 MB / 0.9029 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.1617, allocations: 8.422 kB / 0.9029 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1618, allocations: 27.42 kB / 0.903 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1618, allocations: 0 / 0.903 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/0.3527, allocations: 1.47 MB / 0.9044 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.3529, allocations: 219.3 kB / 0.9046 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.831, allocations: 0 / 0.9046 GB, free: 58.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)