Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007913, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005182/0.005182, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 270.9 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9662/0.9662, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 17.78 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.001792/0.1634, allocations: 1.428 MB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1648, allocations: 1.114 MB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1649, allocations: 2.281 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.1653, allocations: 143.7 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.1654, allocations: 55.73 kB / 0.6878 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1657, allocations: 123.7 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1659, allocations: 219.3 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1659, allocations: 16.11 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.166, allocations: 27.86 kB / 0.6882 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1661, allocations: 71.75 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1661, allocations: 0 / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.1665, allocations: 227.5 kB / 0.6885 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.1666, allocations: 59.8 kB / 0.6885 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.1666, allocations: 89.27 kB / 0.6886 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.167, allocations: 299.1 kB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.167, allocations: 3.938 kB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.167, allocations: 0 / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.167, allocations: 0.625 kB / 0.6889 GB, free: 11.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.0005498/0.1676, allocations: 496.7 kB / 0.6894 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1676, allocations: 8.031 kB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1677, allocations: 24.64 kB / 0.6894 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1678, allocations: 208.5 kB / 0.6896 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1678, allocations: 4.359 kB / 0.6896 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1678, allocations: 5.094 kB / 0.6896 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1681, allocations: 90.94 kB / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1681, allocations: 9.953 kB / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1681, allocations: 0 / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1681, allocations: 0 / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.1683, allocations: 107.9 kB / 0.6898 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.1689, allocations: 384.7 kB / 0.6902 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1691, allocations: 102.5 kB / 0.6903 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1692, allocations: 64.88 kB / 0.6903 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.1693, allocations: 23.92 kB / 0.6903 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1693, allocations: 34.56 kB / 0.6904 GB, free: 9.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1693, allocations: 0 / 0.6904 GB, free: 9.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004695/0.1698, allocations: 205.4 kB / 0.6906 GB, free: 9.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1698, allocations: 59.53 kB / 0.6906 GB, free: 9.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1701, allocations: 254.7 kB / 0.6909 GB, free: 9.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1701, allocations: 25.7 kB / 0.6909 GB, free: 8.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.1702, allocations: 136.1 kB / 0.691 GB, free: 8.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1702, allocations: 3.906 kB / 0.691 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.1703, allocations: 9.719 kB / 0.691 GB, free: 8.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1704, allocations: 338.8 kB / 0.6914 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1705, allocations: 55.97 kB / 0.6914 GB, free: 8.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1706, allocations: 55.91 kB / 0.6915 GB, free: 8.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1708, allocations: 116.8 kB / 0.6916 GB, free: 8.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1708, allocations: 0 / 0.6916 GB, free: 8.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000272/0.1711, allocations: 149.4 kB / 0.6917 GB, free: 8.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1711, allocations: 4.031 kB / 0.6917 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1712, allocations: 12 kB / 0.6917 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1712, allocations: 0 / 0.6917 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.1713, allocations: 15.92 kB / 0.6918 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1713, allocations: 0 / 0.6918 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.1714, allocations: 15.98 kB / 0.6918 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1714, allocations: 0 / 0.6918 GB, free: 8.07 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 0.000105/0.1715, allocations: 143 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.1715, allocations: 23.8 kB / 0.6919 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.1719, allocations: 174.4 kB / 0.6921 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1719, allocations: 0 / 0.6921 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1719, allocations: 4 kB / 0.6921 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1719, allocations: 0 / 0.6921 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1722, allocations: 249.5 kB / 0.6923 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1722, allocations: 0 / 0.6923 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.1722, allocations: 15.98 kB / 0.6924 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1723, allocations: 0 / 0.6924 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1723, allocations: 0 / 0.6924 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1723, allocations: 4 kB / 0.6924 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1723, allocations: 0 / 0.6924 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1726, allocations: 263.1 kB / 0.6926 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1727, allocations: 88.92 kB / 0.6927 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.1727, allocations: 0 / 0.6927 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.1728, allocations: 15.98 kB / 0.6927 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1729, allocations: 0 / 0.6927 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1729, allocations: 8 kB / 0.6927 GB, free: 6.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1731, allocations: 185.9 kB / 0.6929 GB, free: 6.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1731, allocations: 0 / 0.6929 GB, free: 6.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1734, allocations: 75.92 kB / 0.693 GB, free: 6.746 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 (3): * Single equations (assignments): 3 * 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.0003018/0.1737, allocations: 171.1 kB / 0.6931 GB, free: 6.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.174, allocations: 115.9 kB / 0.6932 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.174, allocations: 0 / 0.6932 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1741, allocations: 60.05 kB / 0.6933 GB, free: 6.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.1746, allocations: 45.36 kB / 0.6933 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.1753, allocations: 420.4 kB / 0.6937 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1757, allocations: 0.7355 MB / 0.6945 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.1757, allocations: 4 kB / 0.6945 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.1758, allocations: 11.44 kB / 0.6945 GB, free: 5.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1758, allocations: 0 / 0.6945 GB, free: 5.141 MB / 494.1 MB Notification: Performance of Templates: time 0.005092/0.1809, allocations: 2.188 MB / 0.6966 GB, free: 2.984 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)