Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.466/1.466, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 195.8 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007373/0.0007373, allocations: 94.34 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0009141/0.161, allocations: 0.529 MB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001394/0.1612, allocations: 47.78 kB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.1613, allocations: 0 / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1613, allocations: 3.938 kB / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.1614, allocations: 15.92 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.234e-05/0.1615, allocations: 11.94 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.1615, allocations: 63.78 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1617, allocations: 41.38 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.1617, allocations: 15.88 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.1618, allocations: 27.78 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1618, allocations: 4 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.1618, allocations: 0 / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1618, allocations: 11.94 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1619, allocations: 49.5 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.872e-05/0.1619, allocations: 60.09 kB / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.162, allocations: 0 / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.162, allocations: 0 / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.162, allocations: 4 kB / 0.9811 GB, free: 26.36 MB / 0.6198 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.0003308/0.1623, allocations: 375.2 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1624, allocations: 8.031 kB / 0.9814 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1624, allocations: 50.73 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.1624, allocations: 8.844 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1626, allocations: 196.1 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1626, allocations: 8.266 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1626, allocations: 12.38 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1628, allocations: 95.95 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1628, allocations: 3.938 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1628, allocations: 0 / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1628, allocations: 4 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.1629, allocations: 39.92 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.1633, allocations: 444.5 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.1634, allocations: 41.28 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.1634, allocations: 13.84 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.1634, allocations: 3.984 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.1634, allocations: 42.56 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.1634, allocations: 0 / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.1636, allocations: 61.41 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1636, allocations: 85.05 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1637, allocations: 169.9 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.1637, allocations: 25.7 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1638, allocations: 111.9 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.1638, allocations: 8.141 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.1638, allocations: 4 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.1638, allocations: 322.8 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.1639, allocations: 8 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.1639, allocations: 17.7 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.1639, allocations: 29.72 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1639, allocations: 4 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.817e-05/0.164, allocations: 61.53 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.164, allocations: 11.94 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.164, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1641, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.1641, allocations: 4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1641, allocations: 4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.1642, allocations: 3.906 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1642, allocations: 4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 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 4.663e-05/0.1642, allocations: 125.8 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1643, allocations: 15.84 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.1643, allocations: 12.55 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1643, allocations: 4 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1643, allocations: 0 / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1643, allocations: 0 / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1646, allocations: 478.8 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1646, allocations: 4.062 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.1646, allocations: 4 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1646, allocations: 0 / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1646, allocations: 4 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1646, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1646, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.605e-05/0.1647, allocations: 90.61 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.1648, allocations: 89.02 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1648, allocations: 3.938 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.1648, allocations: 4 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1648, allocations: 7.984 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1648, allocations: 0 / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.1649, allocations: 128.9 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1649, allocations: 3.938 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000165/0.1651, allocations: 8 kB / 0.9842 GB, free: 22.79 MB / 0.6198 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.0002065/0.1653, allocations: 0.621 MB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.1654, allocations: 19.94 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1654, allocations: 0 / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.1654, allocations: 8.156 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.1655, allocations: 10.25 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.1662, allocations: 0.5895 MB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.64e-05/0.1663, allocations: 0.6965 MB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.1663, allocations: 8.438 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1664, allocations: 27.42 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1664, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.48/0.6463, allocations: 1.591 MB / 0.9877 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.6466, allocations: 203.3 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.148, allocations: 0 / 0.9879 GB, free: 19.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)