Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8021/0.8021, allocations: 143.8 MB / 159.1 MB, free: 6.484 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.001109/0.001109, allocations: 179.3 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.422/1.422, allocations: 225.7 MB / 450.4 MB, free: 4.934 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.0008336/0.0008336, allocations: 107.5 kB / 0.5211 GB, free: 1.59 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.001593/0.001593, allocations: 282.7 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 10.72 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002072/0.1478, allocations: 1.396 MB / 0.7767 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.1487, allocations: 0.614 MB / 0.7773 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1487, allocations: 0 / 0.7773 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1491, allocations: 147.7 kB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.1492, allocations: 47.8 kB / 0.7775 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1494, allocations: 43.88 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1496, allocations: 211.4 kB / 0.7777 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.1497, allocations: 11.94 kB / 0.7777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.1498, allocations: 35.8 kB / 0.7778 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1499, allocations: 71.73 kB / 0.7778 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1499, allocations: 0 / 0.7778 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.1501, allocations: 71.86 kB / 0.7779 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/0.1502, allocations: 55.8 kB / 0.7779 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.1503, allocations: 93.25 kB / 0.778 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1505, allocations: 179.3 kB / 0.7782 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1505, allocations: 0 / 0.7782 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1505, allocations: 0 / 0.7782 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1505, allocations: 4 kB / 0.7782 GB, free: 11.33 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.0005559/0.1511, allocations: 462.5 kB / 0.7786 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1511, allocations: 8.031 kB / 0.7787 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1512, allocations: 20.66 kB / 0.7787 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1514, allocations: 211.8 kB / 0.7789 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1514, allocations: 4.312 kB / 0.7789 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1514, allocations: 4.375 kB / 0.7789 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1516, allocations: 62.23 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1516, allocations: 3.938 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1516, allocations: 0 / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1516, allocations: 3.938 kB / 0.779 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1518, allocations: 51.95 kB / 0.779 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1522, allocations: 316.8 kB / 0.7793 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1524, allocations: 58.44 kB / 0.7794 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.1525, allocations: 36.89 kB / 0.7794 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1525, allocations: 3.938 kB / 0.7794 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1525, allocations: 34.56 kB / 0.7794 GB, free: 9.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1525, allocations: 4 kB / 0.7794 GB, free: 9.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.1529, allocations: 121.5 kB / 0.7795 GB, free: 9.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1529, allocations: 55.47 kB / 0.7796 GB, free: 9.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1532, allocations: 258.7 kB / 0.7798 GB, free: 9.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1532, allocations: 25.7 kB / 0.7799 GB, free: 9.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.1533, allocations: 136 kB / 0.78 GB, free: 9.297 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1533, allocations: 7.906 kB / 0.78 GB, free: 9.289 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-06/0.1533, allocations: 4 kB / 0.78 GB, free: 9.285 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1534, allocations: 326.8 kB / 0.7803 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.1535, allocations: 27.97 kB / 0.7804 GB, free: 8.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.1536, allocations: 23.98 kB / 0.7804 GB, free: 8.906 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1538, allocations: 60.88 kB / 0.7804 GB, free: 8.844 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1538, allocations: 3.938 kB / 0.7804 GB, free: 8.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.154, allocations: 97.47 kB / 0.7805 GB, free: 8.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.154, allocations: 8 kB / 0.7805 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.154, allocations: 7.969 kB / 0.7805 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1541, allocations: 0 / 0.7805 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.1541, allocations: 11.98 kB / 0.7806 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1542, allocations: 0 / 0.7806 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.1542, allocations: 11.91 kB / 0.7806 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1542, allocations: 0 / 0.7806 GB, free: 8.699 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.0001026/0.1544, allocations: 137.8 kB / 0.7807 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1544, allocations: 19.81 kB / 0.7807 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.1546, allocations: 106.5 kB / 0.7808 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1547, allocations: 0 / 0.7808 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1547, allocations: 0 / 0.7808 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1547, allocations: 4 kB / 0.7808 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1549, allocations: 213.6 kB / 0.781 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1549, allocations: 4 kB / 0.781 GB, free: 8.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1549, allocations: 15.88 kB / 0.781 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1549, allocations: 3.984 kB / 0.7811 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.155, allocations: 0 / 0.7811 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.155, allocations: 3.984 kB / 0.7811 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.155, allocations: 0 / 0.7811 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1552, allocations: 203.2 kB / 0.7812 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1553, allocations: 92.86 kB / 0.7813 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1553, allocations: 0 / 0.7813 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1554, allocations: 8.016 kB / 0.7813 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1554, allocations: 8 kB / 0.7814 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1554, allocations: 0 / 0.7814 GB, free: 7.797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1556, allocations: 189.9 kB / 0.7815 GB, free: 7.609 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 0 / 0.7815 GB, free: 7.609 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.1558, allocations: 36 kB / 0.7816 GB, free: 7.574 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.0001666/0.156, allocations: 127.2 kB / 0.7817 GB, free: 7.441 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1562, allocations: 59.89 kB / 0.7817 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1562, allocations: 0 / 0.7817 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.1563, allocations: 27.98 kB / 0.7818 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1567, allocations: 40.58 kB / 0.7818 GB, free: 7.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.1572, allocations: 382.8 kB / 0.7822 GB, free: 6.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1576, allocations: 0.7394 MB / 0.7829 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.1576, allocations: 4 kB / 0.7829 GB, free: 6.148 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.1576, allocations: 7.438 kB / 0.7829 GB, free: 6.141 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1576, allocations: 0 / 0.7829 GB, free: 6.141 MB / 458.7 MB Notification: Performance of Templates: time 0.004069/0.1617, allocations: 1.659 MB / 0.7845 GB, free: 4.508 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)