Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.405/1.405, 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.0008917/0.0008917, allocations: 181.1 kB / 325.8 MB, free: 2.676 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.549/1.549, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007282/0.0007284, allocations: 98.27 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8.844 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1715, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001366/0.1729, allocations: 1.235 MB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.1732, allocations: 131.6 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1732, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.1733, allocations: 7.938 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.1733, allocations: 0 / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1736, allocations: 73.7 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.1737, allocations: 55.84 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1738, allocations: 15.98 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.1738, allocations: 27.91 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.1739, allocations: 15.92 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1739, allocations: 4 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.1739, allocations: 4 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.174, allocations: 7.984 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.174, allocations: 19.86 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/0.1741, allocations: 55.78 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1741, allocations: 0 / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1741, allocations: 4 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1741, allocations: 0 / 0.8978 GB, free: 66.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003618/0.1745, allocations: 363.4 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1745, allocations: 8.031 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.1745, allocations: 42.69 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.1746, allocations: 4.844 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.108e-05/0.1746, allocations: 164.4 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.1747, allocations: 34.25 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1747, allocations: 4.375 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1749, allocations: 89.95 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1749, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1749, allocations: 4 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1749, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1751, allocations: 63.89 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1755, allocations: 328.6 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1757, allocations: 54.55 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1758, allocations: 36.92 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1758, allocations: 4 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.1758, allocations: 34.5 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1758, allocations: 4 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003001/0.1761, allocations: 109.6 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.1761, allocations: 55.39 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.1762, allocations: 113.8 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1762, allocations: 25.7 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1762, allocations: 91.98 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.1763, allocations: 15.75 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.1763, allocations: 13.72 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.1763, allocations: 322.8 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.1764, allocations: 27.98 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.1765, allocations: 49.56 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1766, allocations: 69.69 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1766, allocations: 0 / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000196/0.1768, allocations: 97.62 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1769, allocations: 7.984 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1769, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.1769, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.177, allocations: 16 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.177, allocations: 3.984 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.177, allocations: 12 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1771, allocations: 4 kB / 0.9 GB, free: 63.93 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 (5): * Single equations (assignments): 5 * 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.651e-05/0.1771, allocations: 113.8 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1771, allocations: 3.906 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.1772, allocations: 11.89 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1772, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1772, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1772, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1773, allocations: 177.6 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1773, allocations: 0 / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.1774, allocations: 23.94 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1774, allocations: 3.984 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1774, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1774, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1774, allocations: 320 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.1776, allocations: 183.5 kB / 0.9005 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.1776, allocations: 81.02 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1776, allocations: 4 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1778, allocations: 15.98 kB / 0.9006 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.1778, allocations: 3.984 kB / 0.9006 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1778, allocations: 8.281 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.1778, allocations: 91.25 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1778, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001881/0.178, allocations: 8 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0003277/0.1784, allocations: 0.7279 MB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1786, allocations: 59.95 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1786, allocations: 7.938 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.1787, allocations: 39.84 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.1789, allocations: 4 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.1799, allocations: 1.359 MB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.18, allocations: 0.6809 MB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.18, allocations: 7.984 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.1801, allocations: 23.44 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1801, allocations: 0 / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/0.3619, allocations: 1.514 MB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.3622, allocations: 221.7 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.198, allocations: 4.062 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)