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.0009599/0.0009601, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.008036/0.008036, allocations: 181 kB / 16.26 MB, free: 6.605 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 274.5 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 16.7 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1696, allocations: 88.55 MB / 0.6851 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.001849/0.1715, allocations: 1.41 MB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.1722, allocations: 0.5075 MB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1723, allocations: 3.281 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1727, allocations: 151.7 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.1728, allocations: 55.73 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.173, allocations: 47.88 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.1732, allocations: 207.3 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1732, allocations: 7.938 kB / 0.6875 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.1733, allocations: 35.8 kB / 0.6875 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.1734, allocations: 60.31 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1734, allocations: 4.562 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1736, allocations: 84.41 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.1736, allocations: 59.8 kB / 0.6877 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1737, allocations: 87.42 kB / 0.6878 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.174, allocations: 187.3 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.174, allocations: 0 / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.174, allocations: 0 / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.174, allocations: 0 / 0.6879 GB, free: 12.23 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.0005259/0.1745, allocations: 464.1 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1746, allocations: 13.75 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1746, allocations: 16.75 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1748, allocations: 215.6 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1748, allocations: 8.375 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-06/0.1748, allocations: 4.312 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.175, allocations: 69.12 kB / 0.6887 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.175, allocations: 7.938 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.175, allocations: 4 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.175, allocations: 0 / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.1752, allocations: 70.17 kB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1757, allocations: 342.8 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1759, allocations: 68.55 kB / 0.6892 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.176, allocations: 48.89 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.1761, allocations: 8 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1761, allocations: 34.5 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1761, allocations: 0 / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003988/0.1765, allocations: 153.3 kB / 0.6894 GB, free: 10.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1766, allocations: 55.39 kB / 0.6895 GB, free: 10.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1768, allocations: 254.7 kB / 0.6897 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1768, allocations: 25.7 kB / 0.6897 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.1769, allocations: 140.2 kB / 0.6899 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1769, allocations: 3.906 kB / 0.6899 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1769, allocations: 9.719 kB / 0.6899 GB, free: 10.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1771, allocations: 334.8 kB / 0.6902 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1772, allocations: 31.98 kB / 0.6902 GB, free: 9.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.1773, allocations: 35.97 kB / 0.6903 GB, free: 9.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1775, allocations: 76.75 kB / 0.6903 GB, free: 9.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1775, allocations: 3.938 kB / 0.6903 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002392/0.1777, allocations: 117.5 kB / 0.6904 GB, free: 9.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1778, allocations: 7.984 kB / 0.6905 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1778, allocations: 0 / 0.6905 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1778, allocations: 0 / 0.6905 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.1779, allocations: 8 kB / 0.6905 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1779, allocations: 8.031 kB / 0.6905 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.178, allocations: 7.984 kB / 0.6905 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.178, allocations: 0 / 0.6905 GB, free: 9.43 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.924e-05/0.1781, allocations: 143.1 kB / 0.6906 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1781, allocations: 23.7 kB / 0.6906 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.1784, allocations: 130.5 kB / 0.6908 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1784, allocations: 3.984 kB / 0.6908 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1784, allocations: 0 / 0.6908 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1784, allocations: 0 / 0.6908 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.1787, allocations: 217.6 kB / 0.691 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1787, allocations: 0 / 0.691 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1787, allocations: 16.02 kB / 0.691 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1787, allocations: 0 / 0.691 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1788, allocations: 11.88 kB / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1788, allocations: 0 / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1788, allocations: 0 / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1791, allocations: 223.2 kB / 0.6912 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1791, allocations: 92.83 kB / 0.6913 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1791, allocations: 0 / 0.6913 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1793, allocations: 7.984 kB / 0.6913 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1793, allocations: 4 kB / 0.6913 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1793, allocations: 0 / 0.6913 GB, free: 8.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1795, allocations: 194 kB / 0.6915 GB, free: 8.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1795, allocations: 0 / 0.6915 GB, free: 8.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1798, allocations: 39.94 kB / 0.6915 GB, free: 8.246 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.0001687/0.1799, allocations: 119.2 kB / 0.6916 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1802, allocations: 79.94 kB / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1802, allocations: 0 / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1803, allocations: 35.92 kB / 0.6918 GB, free: 8.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1808, allocations: 48.58 kB / 0.6918 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.1813, allocations: 382.5 kB / 0.6922 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1816, allocations: 0.7316 MB / 0.6929 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.1816, allocations: 8 kB / 0.6929 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.1816, allocations: 11.44 kB / 0.6929 GB, free: 6.785 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1816, allocations: 0 / 0.6929 GB, free: 6.785 MB / 494.1 MB Notification: Performance of Templates: time 0.004207/0.1858, allocations: 1.666 MB / 0.6945 GB, free: 5.148 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)