Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7533/0.7533, allocations: 143.8 MB / 159.1 MB, free: 6.539 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.001007/0.001007, allocations: 191.2 kB / 192 MB, free: 6.711 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.412/1.412, 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.000937/0.000937, allocations: 103.5 kB / 0.5211 GB, free: 1.652 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.001601/0.001601, allocations: 277.6 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 14.64 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002035/0.1573, allocations: 1.404 MB / 0.7767 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1589, allocations: 1.377 MB / 0.778 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1589, allocations: 8 kB / 0.778 GB, free: 11.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1593, allocations: 139.8 kB / 0.7782 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.1594, allocations: 55.73 kB / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1598, allocations: 127.6 kB / 0.7783 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.16, allocations: 215.3 kB / 0.7785 GB, free: 10.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.16, allocations: 7.938 kB / 0.7786 GB, free: 10.95 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1601, allocations: 43.78 kB / 0.7786 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1602, allocations: 79.67 kB / 0.7787 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1602, allocations: 4 kB / 0.7787 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.1606, allocations: 195.7 kB / 0.7789 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.1607, allocations: 67.72 kB / 0.7789 GB, free: 10.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.1608, allocations: 89.25 kB / 0.779 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.1612, allocations: 295.2 kB / 0.7793 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1612, allocations: 4 kB / 0.7793 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1612, allocations: 0 / 0.7793 GB, free: 10.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1612, allocations: 0 / 0.7793 GB, free: 10.18 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.0006353/0.1619, allocations: 494.4 kB / 0.7798 GB, free: 9.645 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1619, allocations: 11.97 kB / 0.7798 GB, free: 9.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.162, allocations: 20.66 kB / 0.7798 GB, free: 9.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1621, allocations: 219.7 kB / 0.78 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1622, allocations: 384 / 0.78 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1622, allocations: 4.375 kB / 0.78 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1624, allocations: 89.78 kB / 0.7801 GB, free: 9.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1624, allocations: 4 kB / 0.7801 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1624, allocations: 0 / 0.7801 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1624, allocations: 4 kB / 0.7801 GB, free: 9.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.1627, allocations: 107.9 kB / 0.7802 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.1632, allocations: 380.8 kB / 0.7806 GB, free: 8.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1634, allocations: 110.5 kB / 0.7807 GB, free: 8.609 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1636, allocations: 60.89 kB / 0.7807 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.1636, allocations: 27.98 kB / 0.7808 GB, free: 8.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1637, allocations: 30.56 kB / 0.7808 GB, free: 8.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1637, allocations: 0 / 0.7808 GB, free: 8.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004476/0.1641, allocations: 209.3 kB / 0.781 GB, free: 8.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1642, allocations: 55.41 kB / 0.781 GB, free: 8.203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1644, allocations: 254.7 kB / 0.7813 GB, free: 7.953 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1644, allocations: 25.7 kB / 0.7813 GB, free: 7.922 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.1645, allocations: 140.2 kB / 0.7814 GB, free: 7.781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1645, allocations: 7.984 kB / 0.7815 GB, free: 7.773 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1645, allocations: 0 / 0.7815 GB, free: 7.773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1647, allocations: 334.8 kB / 0.7818 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1648, allocations: 47.97 kB / 0.7818 GB, free: 7.391 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1649, allocations: 55.97 kB / 0.7819 GB, free: 7.336 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1651, allocations: 112.8 kB / 0.782 GB, free: 7.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1651, allocations: 0 / 0.782 GB, free: 7.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002664/0.1654, allocations: 161.4 kB / 0.7821 GB, free: 7.059 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1654, allocations: 4 kB / 0.7821 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1654, allocations: 7.984 kB / 0.7821 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1655, allocations: 0 / 0.7821 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.1655, allocations: 8 kB / 0.7821 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1656, allocations: 4.031 kB / 0.7822 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.1656, allocations: 11.98 kB / 0.7822 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1656, allocations: 0 / 0.7822 GB, free: 7.023 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.0001109/0.1658, allocations: 141.8 kB / 0.7823 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1658, allocations: 15.81 kB / 0.7823 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.1662, allocations: 182.3 kB / 0.7825 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1662, allocations: 4 kB / 0.7825 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1662, allocations: 0 / 0.7825 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1662, allocations: 0 / 0.7825 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1665, allocations: 249.5 kB / 0.7827 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1665, allocations: 0 / 0.7827 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1665, allocations: 19.98 kB / 0.7828 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1665, allocations: 3.938 kB / 0.7828 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1666, allocations: 0 / 0.7828 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1666, allocations: 4 kB / 0.7828 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1666, allocations: 0 / 0.7828 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.1669, allocations: 255.2 kB / 0.783 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1669, allocations: 96.91 kB / 0.7831 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.167, allocations: 0 / 0.7831 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.1671, allocations: 15.98 kB / 0.7831 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1671, allocations: 11.86 kB / 0.7831 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1671, allocations: 4 kB / 0.7831 GB, free: 5.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.1673, allocations: 186 kB / 0.7833 GB, free: 5.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1673, allocations: 4 kB / 0.7833 GB, free: 5.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.1676, allocations: 67.92 kB / 0.7834 GB, free: 5.688 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 (3): * Single equations (assignments): 3 * 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.0002614/0.1679, allocations: 183.1 kB / 0.7835 GB, free: 5.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1681, allocations: 111.9 kB / 0.7837 GB, free: 5.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1681, allocations: 0 / 0.7837 GB, free: 5.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1683, allocations: 55.97 kB / 0.7837 GB, free: 5.336 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1687, allocations: 52.45 kB / 0.7838 GB, free: 5.285 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.1693, allocations: 404.6 kB / 0.7841 GB, free: 4.863 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1696, allocations: 0.7355 MB / 0.7849 GB, free: 4.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.552e-05/0.1697, allocations: 11.98 kB / 0.7849 GB, free: 4.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.1697, allocations: 15.42 kB / 0.7849 GB, free: 4.074 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1697, allocations: 3.938 kB / 0.7849 GB, free: 4.07 MB / 458.7 MB Notification: Performance of Templates: time 0.004851/0.1746, allocations: 2.18 MB / 0.787 GB, free: 1.918 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)