Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000825/0.0008251, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005515/0.005515, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 267 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 17.34 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001786/0.1678, allocations: 1.418 MB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.1685, allocations: 476.3 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1686, allocations: 0 / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1689, allocations: 139.8 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.169, allocations: 60.22 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.1692, allocations: 37.7 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1694, allocations: 215.3 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1694, allocations: 11.92 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.1695, allocations: 28.66 kB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.1696, allocations: 71.67 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1696, allocations: 1.188 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1698, allocations: 79.86 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.1699, allocations: 59.86 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1699, allocations: 82.83 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1702, allocations: 183.3 kB / 0.6879 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1702, allocations: 3.938 kB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1702, allocations: 0 / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1702, allocations: 1.156 kB / 0.6879 GB, free: 12.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004936/0.1707, allocations: 461.3 kB / 0.6883 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1707, allocations: 12.03 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1708, allocations: 22.25 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1709, allocations: 215.6 kB / 0.6886 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1709, allocations: 4.375 kB / 0.6886 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1709, allocations: 1.125 kB / 0.6886 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1711, allocations: 61.52 kB / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1711, allocations: 3.938 kB / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1712, allocations: 0 / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1712, allocations: 3.984 kB / 0.6886 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1714, allocations: 57.8 kB / 0.6887 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1718, allocations: 314.6 kB / 0.689 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1719, allocations: 52.03 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1721, allocations: 38.92 kB / 0.6891 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1721, allocations: 4 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1721, allocations: 35.22 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1721, allocations: 4 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003779/0.1725, allocations: 125.3 kB / 0.6892 GB, free: 10.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.1726, allocations: 55.53 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1728, allocations: 258.7 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1728, allocations: 25.7 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.1729, allocations: 140 kB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.1729, allocations: 3.906 kB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.1729, allocations: 9.719 kB / 0.6897 GB, free: 10.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1731, allocations: 334.8 kB / 0.69 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1732, allocations: 27.98 kB / 0.6901 GB, free: 9.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.1733, allocations: 19.98 kB / 0.6901 GB, free: 9.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1735, allocations: 64.88 kB / 0.6901 GB, free: 9.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1735, allocations: 3.938 kB / 0.6901 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002239/0.1737, allocations: 97.41 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1737, allocations: 8 kB / 0.6902 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1737, allocations: 7.969 kB / 0.6903 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1738, allocations: 0 / 0.6903 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.1738, allocations: 11.98 kB / 0.6903 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1739, allocations: 0 / 0.6903 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.1739, allocations: 11.98 kB / 0.6903 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1739, allocations: 0 / 0.6903 GB, free: 9.598 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.892e-05/0.174, allocations: 135.1 kB / 0.6904 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1741, allocations: 23.72 kB / 0.6904 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1744, allocations: 110.5 kB / 0.6905 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1744, allocations: 0 / 0.6905 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1744, allocations: 3.984 kB / 0.6905 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1744, allocations: 4.031 kB / 0.6905 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.1746, allocations: 213.5 kB / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.1746, allocations: 4 kB / 0.6907 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1747, allocations: 11.98 kB / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1747, allocations: 0 / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1747, allocations: 0 / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1747, allocations: 0 / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1747, allocations: 0 / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.175, allocations: 199.3 kB / 0.6909 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.175, allocations: 92.83 kB / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.175, allocations: 0 / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1752, allocations: 16.02 kB / 0.6911 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1752, allocations: 0 / 0.6911 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1752, allocations: 0 / 0.6911 GB, free: 8.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1754, allocations: 193.9 kB / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1754, allocations: 0 / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1756, allocations: 32 kB / 0.6913 GB, free: 8.48 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 (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.0001654/0.1758, allocations: 129 kB / 0.6914 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.176, allocations: 59.95 kB / 0.6914 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1761, allocations: 0 / 0.6914 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1762, allocations: 23.98 kB / 0.6915 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1766, allocations: 46.83 kB / 0.6915 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.1771, allocations: 380.3 kB / 0.6919 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1774, allocations: 0.7433 MB / 0.6926 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.1775, allocations: 7.984 kB / 0.6926 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.1775, allocations: 7.438 kB / 0.6926 GB, free: 7.039 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1775, allocations: 4 kB / 0.6926 GB, free: 7.035 MB / 494.1 MB Notification: Performance of Templates: time 0.004246/0.1818, allocations: 1.656 MB / 0.6942 GB, free: 5.418 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)