Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9772/0.9772, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.001499/0.001499, allocations: 190.6 kB / 192 MB, free: 6.719 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.311/1.311, allocations: 225.7 MB / 450.4 MB, free: 4.996 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.0008519/0.0008519, allocations: 103.5 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.001621/0.001622, allocations: 282 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.0005836, allocations: 12.69 kB / 0.6948 GB, free: 59.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1822, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.001818/0.1841, allocations: 1.408 MB / 0.7767 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1854, allocations: 1.177 MB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.1854, allocations: 7.938 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1858, allocations: 143.7 kB / 0.778 GB, free: 11.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.1859, allocations: 55.72 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1862, allocations: 83.77 kB / 0.7781 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1864, allocations: 211.4 kB / 0.7783 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.1864, allocations: 15.86 kB / 0.7783 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.1865, allocations: 39.84 kB / 0.7784 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1866, allocations: 63.75 kB / 0.7784 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1867, allocations: 4 kB / 0.7784 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.1869, allocations: 131.7 kB / 0.7786 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.187, allocations: 63.78 kB / 0.7786 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.1871, allocations: 89.25 kB / 0.7787 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1874, allocations: 235.2 kB / 0.7789 GB, free: 10.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1874, allocations: 0 / 0.7789 GB, free: 10.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1874, allocations: 0 / 0.7789 GB, free: 10.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1874, allocations: 0 / 0.7789 GB, free: 10.57 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.0005407/0.1879, allocations: 482.4 kB / 0.7794 GB, free: 10.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.188, allocations: 12.02 kB / 0.7794 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.188, allocations: 20.66 kB / 0.7794 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1882, allocations: 215.7 kB / 0.7796 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1882, allocations: 384 / 0.7796 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1882, allocations: 4.375 kB / 0.7796 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1884, allocations: 69.8 kB / 0.7797 GB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1884, allocations: 0 / 0.7797 GB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1884, allocations: 4 kB / 0.7797 GB, free: 9.691 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1884, allocations: 3.938 kB / 0.7797 GB, free: 9.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1886, allocations: 67.95 kB / 0.7798 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1891, allocations: 348.8 kB / 0.7801 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.1892, allocations: 62.55 kB / 0.7802 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.1893, allocations: 40.91 kB / 0.7802 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.1894, allocations: 15.98 kB / 0.7802 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1894, allocations: 34.5 kB / 0.7802 GB, free: 9.059 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1894, allocations: 0 / 0.7802 GB, free: 9.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003737/0.1898, allocations: 149.4 kB / 0.7804 GB, free: 8.906 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1898, allocations: 55.41 kB / 0.7804 GB, free: 8.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1901, allocations: 254.7 kB / 0.7807 GB, free: 8.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1901, allocations: 25.7 kB / 0.7807 GB, free: 8.559 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.1902, allocations: 136 kB / 0.7808 GB, free: 8.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.1902, allocations: 12.11 kB / 0.7808 GB, free: 8.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.1902, allocations: 0 / 0.7808 GB, free: 8.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1903, allocations: 334.8 kB / 0.7812 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.1904, allocations: 35.97 kB / 0.7812 GB, free: 8.039 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.1905, allocations: 31.92 kB / 0.7812 GB, free: 8.008 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1907, allocations: 84.8 kB / 0.7813 GB, free: 7.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1907, allocations: 0 / 0.7813 GB, free: 7.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002164/0.1909, allocations: 121.4 kB / 0.7814 GB, free: 7.797 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1909, allocations: 4 kB / 0.7814 GB, free: 7.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.191, allocations: 4 kB / 0.7814 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.191, allocations: 0 / 0.7814 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.1911, allocations: 15.98 kB / 0.7815 GB, free: 7.773 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1911, allocations: 3.938 kB / 0.7815 GB, free: 7.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1911, allocations: 12.02 kB / 0.7815 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1912, allocations: 4 kB / 0.7815 GB, free: 7.754 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 9.147e-05/0.1913, allocations: 133.8 kB / 0.7816 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1913, allocations: 15.81 kB / 0.7816 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1916, allocations: 130.4 kB / 0.7817 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1916, allocations: 0 / 0.7817 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1916, allocations: 0 / 0.7817 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1916, allocations: 0 / 0.7817 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1918, allocations: 225.5 kB / 0.782 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1918, allocations: 4 kB / 0.782 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.1919, allocations: 8 kB / 0.782 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1919, allocations: 4.016 kB / 0.782 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1919, allocations: 8 kB / 0.782 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1919, allocations: 0 / 0.782 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1919, allocations: 0 / 0.782 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1921, allocations: 215.2 kB / 0.7822 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1922, allocations: 100.8 kB / 0.7823 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1922, allocations: 0 / 0.7823 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.1923, allocations: 8 kB / 0.7823 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1924, allocations: 3.984 kB / 0.7823 GB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1924, allocations: 4 kB / 0.7823 GB, free: 6.812 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1925, allocations: 186 kB / 0.7825 GB, free: 6.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1925, allocations: 0 / 0.7825 GB, free: 6.629 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.1928, allocations: 63.95 kB / 0.7825 GB, free: 6.566 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.0002205/0.193, allocations: 147.2 kB / 0.7827 GB, free: 6.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1933, allocations: 67.95 kB / 0.7827 GB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1933, allocations: 4.062 kB / 0.7827 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.1934, allocations: 39.91 kB / 0.7828 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1938, allocations: 48.34 kB / 0.7828 GB, free: 6.258 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.1943, allocations: 389.4 kB / 0.7832 GB, free: 5.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1946, allocations: 0.7355 MB / 0.7839 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.1946, allocations: 11.98 kB / 0.7839 GB, free: 5.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.1946, allocations: 11.44 kB / 0.7839 GB, free: 5.066 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1946, allocations: 0 / 0.7839 GB, free: 5.066 MB / 458.7 MB Notification: Performance of Templates: time 0.004128/0.1988, allocations: 1.797 MB / 0.7857 GB, free: 3.297 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)