Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7893/0.7893, allocations: 143.8 MB / 159.1 MB, free: 6.5 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 179.3 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.7 MB / 450.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.000782, allocations: 114.6 kB / 0.5211 GB, free: 1.664 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001775, allocations: 274.8 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 13 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002178/0.1726, allocations: 1.396 MB / 0.7767 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.1736, allocations: 0.6452 MB / 0.7773 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.1736, allocations: 0 / 0.7773 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.1741, allocations: 143.8 kB / 0.7774 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.1742, allocations: 47.73 kB / 0.7775 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1745, allocations: 51.88 kB / 0.7775 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1747, allocations: 215.3 kB / 0.7777 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1748, allocations: 11.94 kB / 0.7778 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1748, allocations: 35.8 kB / 0.7778 GB, free: 11.78 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.175, allocations: 63.75 kB / 0.7778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.175, allocations: 4 kB / 0.7779 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1752, allocations: 79.84 kB / 0.7779 GB, free: 11.63 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.1753, allocations: 59.78 kB / 0.778 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.1754, allocations: 85.27 kB / 0.7781 GB, free: 11.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1756, allocations: 187.3 kB / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1757, allocations: 3.938 kB / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1757, allocations: 4 kB / 0.7783 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1757, allocations: 0 / 0.7783 GB, free: 11.29 MB / 458.7 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.0005702/0.1762, allocations: 466.5 kB / 0.7787 GB, free: 10.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1763, allocations: 8.031 kB / 0.7787 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.1763, allocations: 20.66 kB / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1765, allocations: 215.7 kB / 0.7789 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1765, allocations: 384 / 0.7789 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1766, allocations: 12.31 kB / 0.7789 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1768, allocations: 62.23 kB / 0.779 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1768, allocations: 3.938 kB / 0.779 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1768, allocations: 7.984 kB / 0.779 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1768, allocations: 4 kB / 0.779 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.177, allocations: 67.94 kB / 0.7791 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1775, allocations: 336.8 kB / 0.7794 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1777, allocations: 78.42 kB / 0.7795 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.1778, allocations: 40.89 kB / 0.7795 GB, free: 9.844 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/0.1779, allocations: 8 kB / 0.7795 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1779, allocations: 34.56 kB / 0.7796 GB, free: 9.793 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1779, allocations: 0 / 0.7796 GB, free: 9.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004242/0.1783, allocations: 145.4 kB / 0.7797 GB, free: 9.645 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1784, allocations: 59.53 kB / 0.7798 GB, free: 9.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1786, allocations: 254.6 kB / 0.78 GB, free: 9.324 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1787, allocations: 29.7 kB / 0.78 GB, free: 9.289 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.1788, allocations: 132.1 kB / 0.7802 GB, free: 9.156 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1788, allocations: 11.89 kB / 0.7802 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1788, allocations: 0 / 0.7802 GB, free: 9.145 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1789, allocations: 330.8 kB / 0.7805 GB, free: 8.812 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/0.179, allocations: 39.97 kB / 0.7805 GB, free: 8.773 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.1791, allocations: 35.97 kB / 0.7805 GB, free: 8.738 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1793, allocations: 72.88 kB / 0.7806 GB, free: 8.664 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1793, allocations: 3.938 kB / 0.7806 GB, free: 8.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002318/0.1795, allocations: 113.5 kB / 0.7807 GB, free: 8.543 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1796, allocations: 8.031 kB / 0.7807 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1796, allocations: 0 / 0.7807 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1796, allocations: 0 / 0.7807 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.1797, allocations: 19.92 kB / 0.7808 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1797, allocations: 0 / 0.7808 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.1798, allocations: 11.89 kB / 0.7808 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1798, allocations: 3.938 kB / 0.7808 GB, free: 8.5 MB / 458.7 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.0001132/0.1799, allocations: 142.4 kB / 0.7809 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.1799, allocations: 15.81 kB / 0.7809 GB, free: 8.336 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1802, allocations: 130.4 kB / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1802, allocations: 0 / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1803, allocations: 0 / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1803, allocations: 4.031 kB / 0.7811 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1805, allocations: 221.5 kB / 0.7813 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1805, allocations: 0 / 0.7813 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1806, allocations: 11.98 kB / 0.7813 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1806, allocations: 3.938 kB / 0.7813 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1806, allocations: 8 kB / 0.7813 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1806, allocations: 0 / 0.7813 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1806, allocations: 0 / 0.7813 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.1809, allocations: 219.2 kB / 0.7815 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.181, allocations: 92.91 kB / 0.7816 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.181, allocations: 0 / 0.7816 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.1811, allocations: 8.031 kB / 0.7816 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1812, allocations: 7.984 kB / 0.7816 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1812, allocations: 0 / 0.7816 GB, free: 7.555 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1813, allocations: 186 kB / 0.7818 GB, free: 7.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1814, allocations: 0 / 0.7818 GB, free: 7.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.1816, allocations: 43.92 kB / 0.7818 GB, free: 7.328 MB / 458.7 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.0002571/0.1819, allocations: 127.2 kB / 0.7819 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1821, allocations: 79.89 kB / 0.782 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1821, allocations: 0 / 0.782 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.329e-05/0.1822, allocations: 35.97 kB / 0.782 GB, free: 7.082 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1827, allocations: 46.98 kB / 0.7821 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.1832, allocations: 384.4 kB / 0.7825 GB, free: 6.637 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1835, allocations: 0.7316 MB / 0.7832 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.1836, allocations: 11.97 kB / 0.7832 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1836, allocations: 11.44 kB / 0.7832 GB, free: 5.855 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1836, allocations: 0 / 0.7832 GB, free: 5.855 MB / 458.7 MB Notification: Performance of Templates: time 0.004498/0.1881, allocations: 1.67 MB / 0.7848 GB, free: 4.211 MB / 458.7 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)