Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001614/0.001615, allocations: 196.1 kB / 16.25 MB, free: 6.621 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 278.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001665, allocations: 94.38 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1678, allocations: 86.99 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002961/0.1708, allocations: 1.765 MB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.1715, allocations: 0.499 MB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1716, allocations: 0 / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1719, allocations: 151.7 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.172, allocations: 51.73 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1723, allocations: 55.88 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1724, allocations: 103.6 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1725, allocations: 11.88 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1725, allocations: 39.84 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1727, allocations: 59.75 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1727, allocations: 4 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1729, allocations: 91.84 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.173, allocations: 59.78 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.173, allocations: 55.62 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1733, allocations: 195.2 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1733, allocations: 4 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1733, allocations: 0 / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1733, allocations: 0 / 0.6827 GB, free: 13.9 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.0005788/0.1739, allocations: 478.3 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1739, allocations: 8.031 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.174, allocations: 20.66 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1741, allocations: 215.7 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1742, allocations: 384 / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1742, allocations: 8.375 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1744, allocations: 62.23 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1744, allocations: 3.938 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1744, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1744, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1746, allocations: 71.86 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.175, allocations: 336.8 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.1752, allocations: 62.48 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.1753, allocations: 28.91 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1753, allocations: 15.98 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1754, allocations: 30.56 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1754, allocations: 8 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.1758, allocations: 133.4 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1758, allocations: 51.41 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.176, allocations: 258.7 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1761, allocations: 25.7 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.1761, allocations: 136.1 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1762, allocations: 12.02 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1762, allocations: 17.66 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1763, allocations: 326.8 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.1764, allocations: 31.97 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.1765, allocations: 23.98 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1767, allocations: 76.8 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1767, allocations: 3.938 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002196/0.1769, allocations: 105.4 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1769, allocations: 4 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1769, allocations: 0 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.177, allocations: 0 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.177, allocations: 11.98 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1771, allocations: 0 / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.1771, allocations: 16.02 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1771, allocations: 0 / 0.6851 GB, free: 11.16 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.0001005/0.1772, allocations: 139.1 kB / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1773, allocations: 15.81 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.1776, allocations: 114.4 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1776, allocations: 0 / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1776, allocations: 4.031 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1776, allocations: 0 / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1778, allocations: 221.5 kB / 0.6856 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1778, allocations: 0 / 0.6856 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.1779, allocations: 12 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.1779, allocations: 3.984 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1779, allocations: 0 / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1779, allocations: 0 / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1779, allocations: 0 / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1782, allocations: 215.1 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1782, allocations: 92.91 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1782, allocations: 0 / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.1783, allocations: 7.938 kB / 0.6859 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1784, allocations: 3.984 kB / 0.6859 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1784, allocations: 4 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1785, allocations: 190 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1785, allocations: 0 / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1788, allocations: 43.92 kB / 0.6862 GB, free: 10.01 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.0001583/0.179, allocations: 123.2 kB / 0.6863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1792, allocations: 59.95 kB / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1792, allocations: 0 / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.1793, allocations: 39.97 kB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1798, allocations: 52.33 kB / 0.6864 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1803, allocations: 366.4 kB / 0.6868 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1806, allocations: 0.7314 MB / 0.6875 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.308e-05/0.1807, allocations: 7.984 kB / 0.6875 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.1807, allocations: 7.438 kB / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1807, allocations: 0 / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of Templates: time 0.004645/0.1853, allocations: 1.743 MB / 0.6892 GB, free: 6.871 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)