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.001042/0.001042, allocations: 110 kB / 16.37 MB, free: 6.469 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.0009944/0.0009944, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 286.3 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8912/0.8912, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003175, allocations: 95.98 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1661, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002721/0.1689, allocations: 1.703 MB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1702, allocations: 1.118 MB / 0.6844 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.1703, allocations: 0 / 0.6844 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1706, allocations: 147.5 kB / 0.6845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.1707, allocations: 59.67 kB / 0.6846 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1711, allocations: 155.5 kB / 0.6847 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1712, allocations: 107.5 kB / 0.6848 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.1712, allocations: 7.938 kB / 0.6848 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.1713, allocations: 43.78 kB / 0.6849 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1714, allocations: 55.75 kB / 0.6849 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1714, allocations: 7.938 kB / 0.6849 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.1717, allocations: 235.6 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.1718, allocations: 51.86 kB / 0.6852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1719, allocations: 67.5 kB / 0.6853 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.1722, allocations: 307.1 kB / 0.6856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1722, allocations: 0 / 0.6856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1723, allocations: 0 / 0.6856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1723, allocations: 0 / 0.6856 GB, free: 3.402 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.0005281/0.1728, allocations: 0.4943 MB / 0.686 GB, free: 2.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1728, allocations: 8.031 kB / 0.686 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1729, allocations: 24.66 kB / 0.6861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.173, allocations: 219.6 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.173, allocations: 384 / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1731, allocations: 384 / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1732, allocations: 85.78 kB / 0.6864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1733, allocations: 0 / 0.6864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.1733, allocations: 0 / 0.6864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1733, allocations: 0 / 0.6864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1735, allocations: 107.9 kB / 0.6865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1739, allocations: 376.8 kB / 0.6868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1741, allocations: 94.53 kB / 0.6869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1742, allocations: 52.89 kB / 0.687 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.1743, allocations: 23.98 kB / 0.687 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1743, allocations: 38.56 kB / 0.687 GB, free: 1.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1743, allocations: 0 / 0.687 GB, free: 1.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003891/0.1747, allocations: 193.3 kB / 0.6872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1747, allocations: 51.41 kB / 0.6873 GB, free: 1.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.175, allocations: 266.8 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.175, allocations: 25.7 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.1751, allocations: 140 kB / 0.6877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1751, allocations: 3.984 kB / 0.6877 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1751, allocations: 17.72 kB / 0.6877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1752, allocations: 330.8 kB / 0.688 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1753, allocations: 47.95 kB / 0.688 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.1754, allocations: 55.97 kB / 0.6881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1756, allocations: 96.8 kB / 0.6882 GB, free: 500 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1756, allocations: 0 / 0.6882 GB, free: 500 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002469/0.1759, allocations: 153.3 kB / 0.6883 GB, free: 340 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1759, allocations: 10.03 kB / 0.6883 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1759, allocations: 0 / 0.6883 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1759, allocations: 4.094 kB / 0.6884 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.176, allocations: 11.98 kB / 0.6884 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.176, allocations: 0 / 0.6884 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.1761, allocations: 4 kB / 0.6884 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1761, allocations: 3.938 kB / 0.6884 GB, free: 308 kB / 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.0001145/0.1762, allocations: 137.8 kB / 0.6885 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1763, allocations: 23.72 kB / 0.6885 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.251/0.4273, allocations: 163 kB / 0.6887 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4273, allocations: 3.688 kB / 0.6887 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4273, allocations: 1.062 kB / 0.6887 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4273, allocations: 0.5625 kB / 0.6887 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.4276, allocations: 243.7 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4276, allocations: 0.5625 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.4277, allocations: 10.91 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4277, allocations: 1.219 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4277, allocations: 2.219 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4277, allocations: 0.8906 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4277, allocations: 0.5 kB / 0.6889 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.428, allocations: 248.3 kB / 0.6892 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.4281, allocations: 97.02 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.4281, allocations: 2.359 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.4282, allocations: 9.5 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4282, allocations: 7.516 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4283, allocations: 5.234 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4284, allocations: 191.5 kB / 0.6895 GB, free: 17.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4284, allocations: 0 / 0.6895 GB, free: 17.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.4288, allocations: 77.09 kB / 0.6895 GB, free: 17.81 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.0002446/0.429, allocations: 167.2 kB / 0.6897 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.4293, allocations: 100.9 kB / 0.6898 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4293, allocations: 0.5 kB / 0.6898 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4294, allocations: 55.61 kB / 0.6899 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4298, allocations: 49.81 kB / 0.6899 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.4304, allocations: 357.8 kB / 0.6902 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.4305, allocations: 0.7342 MB / 0.691 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.4306, allocations: 5.906 kB / 0.691 GB, free: 16.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.4306, allocations: 11.81 kB / 0.691 GB, free: 16.85 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4306, allocations: 2.625 kB / 0.691 GB, free: 16.85 MB / 494.1 MB Notification: Performance of Templates: time 0.00544/0.4361, allocations: 2.348 MB / 0.6933 GB, free: 16.76 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)