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.00147/0.00147, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001454/0.001454, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 280.8 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.111/1.111, allocations: 178.5 MB / 0.5079 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 95.84 kB / 0.6071 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1631, allocations: 89.13 MB / 0.6942 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003007/0.1661, allocations: 1.705 MB / 0.6958 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.1668, allocations: 474.1 kB / 0.6963 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1669, allocations: 0 / 0.6963 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1673, allocations: 147.4 kB / 0.6964 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.1674, allocations: 55.73 kB / 0.6965 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1676, allocations: 63.8 kB / 0.6965 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1677, allocations: 95.58 kB / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.1678, allocations: 7.984 kB / 0.6966 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.1678, allocations: 35.8 kB / 0.6967 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.1679, allocations: 55.75 kB / 0.6967 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.168, allocations: 0 / 0.6967 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1681, allocations: 79.84 kB / 0.6968 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.1682, allocations: 51.86 kB / 0.6968 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.1683, allocations: 67.56 kB / 0.6969 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1685, allocations: 191.5 kB / 0.6971 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1686, allocations: 0 / 0.6971 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1686, allocations: 0 / 0.6971 GB, free: 13.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1686, allocations: 7.938 kB / 0.6971 GB, free: 13.01 MB / 0.545 GB 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.000579/0.1692, allocations: 470.3 kB / 0.6975 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1692, allocations: 15.97 kB / 0.6976 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1693, allocations: 24.66 kB / 0.6976 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1694, allocations: 207.8 kB / 0.6978 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1694, allocations: 8.375 kB / 0.6978 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.1695, allocations: 384 / 0.6978 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1696, allocations: 62.2 kB / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1697, allocations: 3.938 kB / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1697, allocations: 0 / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1697, allocations: 0 / 0.6978 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1699, allocations: 35.97 kB / 0.6979 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.1703, allocations: 320.8 kB / 0.6982 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1705, allocations: 46.48 kB / 0.6982 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1706, allocations: 28.91 kB / 0.6983 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1706, allocations: 0 / 0.6983 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1707, allocations: 38.56 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1707, allocations: 0 / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.171, allocations: 109.4 kB / 0.6984 GB, free: 11.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1711, allocations: 55.41 kB / 0.6985 GB, free: 11.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1713, allocations: 254.7 kB / 0.6987 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1714, allocations: 29.83 kB / 0.6987 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.1715, allocations: 132.1 kB / 0.6989 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1715, allocations: 7.844 kB / 0.6989 GB, free: 11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1715, allocations: 17.72 kB / 0.6989 GB, free: 10.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1717, allocations: 330.8 kB / 0.6992 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.1718, allocations: 19.92 kB / 0.6992 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.1719, allocations: 23.97 kB / 0.6992 GB, free: 10.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1721, allocations: 48.89 kB / 0.6993 GB, free: 10.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1721, allocations: 3.938 kB / 0.6993 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.1723, allocations: 93.31 kB / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1723, allocations: 8 kB / 0.6994 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1723, allocations: 3.984 kB / 0.6994 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1723, allocations: 32 / 0.6994 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.1724, allocations: 12 kB / 0.6994 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1724, allocations: 0 / 0.6994 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.1725, allocations: 7.984 kB / 0.6994 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1725, allocations: 4 kB / 0.6994 GB, free: 10.42 MB / 0.545 GB 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.0001134/0.1726, allocations: 141 kB / 0.6995 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.1727, allocations: 15.81 kB / 0.6996 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.173, allocations: 106.4 kB / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.173, allocations: 4 kB / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.173, allocations: 0 / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.173, allocations: 0 / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1732, allocations: 205.6 kB / 0.6999 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1732, allocations: 0 / 0.6999 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.1733, allocations: 11.98 kB / 0.6999 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1733, allocations: 0 / 0.6999 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1733, allocations: 0 / 0.6999 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1733, allocations: 0 / 0.6999 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1733, allocations: 4.031 kB / 0.6999 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1736, allocations: 187.2 kB / 0.7001 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1736, allocations: 92.91 kB / 0.7001 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1737, allocations: 4 kB / 0.7001 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.1738, allocations: 0 / 0.7001 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1738, allocations: 16.02 kB / 0.7002 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1738, allocations: 3.938 kB / 0.7002 GB, free: 9.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000164/0.174, allocations: 182 kB / 0.7003 GB, free: 9.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.174, allocations: 0 / 0.7003 GB, free: 9.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002668/0.1743, allocations: 39.98 kB / 0.7004 GB, free: 9.328 MB / 0.545 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 (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.000184/0.1745, allocations: 123.2 kB / 0.7005 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1747, allocations: 47.95 kB / 0.7005 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1747, allocations: 0 / 0.7005 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.1748, allocations: 23.98 kB / 0.7006 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1752, allocations: 57.12 kB / 0.7006 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1758, allocations: 371.9 kB / 0.701 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1762, allocations: 0.7332 MB / 0.7017 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.1762, allocations: 7.438 kB / 0.7017 GB, free: 7.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.1762, allocations: 0 / 0.7017 GB, free: 7.91 MB / 0.545 GB Notification: Performance of Templates: time 0.003657/0.1799, allocations: 1.818 MB / 0.7035 GB, free: 6.113 MB / 0.545 GB 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)