Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 187.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 278.3 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 87.83 kB / 0.5947 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002555/0.1519, allocations: 1.559 MB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.1521, allocations: 128.2 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.1522, allocations: 0.625 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.1522, allocations: 0 / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.1523, allocations: 8.531 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1526, allocations: 67.31 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.1526, allocations: 60.72 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.1527, allocations: 16.77 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.1528, allocations: 32.62 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.1528, allocations: 15.92 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1529, allocations: 8.531 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.1529, allocations: 4 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.1529, allocations: 21.83 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1529, allocations: 19.92 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.153, allocations: 59.73 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.153, allocations: 4 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.153, allocations: 0 / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1531, allocations: 4 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB 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.0004571/0.1535, allocations: 367.4 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.1536, allocations: 8.031 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1536, allocations: 8.844 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1537, allocations: 164.4 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.1538, allocations: 34.25 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1538, allocations: 4.375 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.154, allocations: 86.14 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.154, allocations: 3.938 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.154, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.154, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1542, allocations: 47.95 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1548, allocations: 320.6 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1549, allocations: 54.48 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.155, allocations: 24.94 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.155, allocations: 4 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.155, allocations: 34.56 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.155, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003381/0.1554, allocations: 101.5 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1554, allocations: 55.34 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.1555, allocations: 113.8 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1555, allocations: 29.7 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.1556, allocations: 92.08 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1556, allocations: 15.8 kB / 0.6831 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1557, allocations: 17.72 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1558, allocations: 314.8 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.1559, allocations: 23.97 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.156, allocations: 33.7 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1562, allocations: 61.67 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1562, allocations: 3.938 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002089/0.1564, allocations: 85.59 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1564, allocations: 4 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1564, allocations: 0 / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1565, allocations: 4.031 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.1566, allocations: 15.98 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1566, allocations: 0 / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.1566, allocations: 11.84 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1567, allocations: 11.92 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB 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 8.703e-05/0.1567, allocations: 115.1 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1568, allocations: 4.359 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.1568, allocations: 7.906 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1568, allocations: 11.98 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1568, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1568, allocations: 4 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.157, allocations: 173.6 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.157, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1571, allocations: 11.98 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1571, allocations: 0 / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1571, allocations: 4 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1571, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1572, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1574, allocations: 183.3 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1575, allocations: 81.11 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1575, allocations: 3.984 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1576, allocations: 7.984 kB / 0.6842 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1577, allocations: 4 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1577, allocations: 0 / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.712e-05/0.1578, allocations: 95.34 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1578, allocations: 3.938 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.158, allocations: 12 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB 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.000124/0.1581, allocations: 95.25 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1583, allocations: 59.83 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1584, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.1584, allocations: 28.03 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1587, allocations: 4 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.159, allocations: 153.5 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.1593, allocations: 0.6885 MB / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.1593, allocations: 7.938 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1594, allocations: 15.44 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1594, allocations: 0 / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of Templates: time 0.002451/0.1618, allocations: 0.7529 MB / 0.6861 GB, free: 10.05 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)