Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.764/0.764, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.0008921/0.0008922, allocations: 175.3 kB / 192 MB, free: 6.742 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.457/1.457, allocations: 225.7 MB / 450.4 MB, free: 4.984 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.0008229/0.0008231, allocations: 103.5 kB / 0.5211 GB, free: 1.648 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.001556/0.001556, allocations: 269.4 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 13.16 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001904/0.1429, allocations: 1.404 MB / 0.7767 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.1438, allocations: 0.6452 MB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.1438, allocations: 0 / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1442, allocations: 139.8 kB / 0.7774 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.1443, allocations: 51.73 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1445, allocations: 55.88 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1447, allocations: 211.3 kB / 0.7778 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.1447, allocations: 7.938 kB / 0.7778 GB, free: 11.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.1448, allocations: 43.78 kB / 0.7778 GB, free: 11.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1449, allocations: 63.75 kB / 0.7779 GB, free: 11.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.145, allocations: 0 / 0.7779 GB, free: 11.68 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1452, allocations: 79.84 kB / 0.7779 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.1453, allocations: 59.8 kB / 0.778 GB, free: 11.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.1454, allocations: 85.27 kB / 0.7781 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1456, allocations: 195.3 kB / 0.7783 GB, free: 11.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1457, allocations: 0 / 0.7783 GB, free: 11.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1457, allocations: 0 / 0.7783 GB, free: 11.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1457, allocations: 0 / 0.7783 GB, free: 11.27 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.0006321/0.1463, allocations: 458.5 kB / 0.7787 GB, free: 10.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1464, allocations: 11.97 kB / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1464, allocations: 20.66 kB / 0.7787 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1466, allocations: 223.7 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1466, allocations: 384 / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1466, allocations: 8.375 kB / 0.779 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1468, allocations: 62.23 kB / 0.779 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1469, allocations: 3.938 kB / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1469, allocations: 0 / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1469, allocations: 4 kB / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1471, allocations: 75.92 kB / 0.7791 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1476, allocations: 336.8 kB / 0.7794 GB, free: 9.945 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1478, allocations: 74.42 kB / 0.7795 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.1479, allocations: 40.89 kB / 0.7795 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.1479, allocations: 12 kB / 0.7795 GB, free: 9.809 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1479, allocations: 34.56 kB / 0.7796 GB, free: 9.766 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.148, allocations: 0 / 0.7796 GB, free: 9.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003869/0.1483, allocations: 153.5 kB / 0.7797 GB, free: 9.609 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1484, allocations: 55.34 kB / 0.7798 GB, free: 9.543 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1487, allocations: 254.7 kB / 0.78 GB, free: 9.293 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1487, allocations: 29.7 kB / 0.78 GB, free: 9.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1488, allocations: 128.1 kB / 0.7802 GB, free: 9.129 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1488, allocations: 7.891 kB / 0.7802 GB, free: 9.121 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.1488, allocations: 0 / 0.7802 GB, free: 9.121 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1489, allocations: 330.8 kB / 0.7805 GB, free: 8.789 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.149, allocations: 40 kB / 0.7805 GB, free: 8.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.1491, allocations: 31.98 kB / 0.7806 GB, free: 8.719 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1493, allocations: 76.86 kB / 0.7806 GB, free: 8.641 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1493, allocations: 3.938 kB / 0.7806 GB, free: 8.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.1495, allocations: 121.4 kB / 0.7807 GB, free: 8.512 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1496, allocations: 4 kB / 0.7807 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1496, allocations: 0 / 0.7807 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1496, allocations: 0 / 0.7807 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.1497, allocations: 15.98 kB / 0.7808 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1497, allocations: 0 / 0.7808 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.1498, allocations: 7.984 kB / 0.7808 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1498, allocations: 0 / 0.7808 GB, free: 8.484 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.0001171/0.1499, allocations: 145.7 kB / 0.7809 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1499, allocations: 19.72 kB / 0.7809 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1502, allocations: 130.5 kB / 0.7811 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1502, allocations: 4.031 kB / 0.7811 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1502, allocations: 0 / 0.7811 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1503, allocations: 0 / 0.7811 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.1505, allocations: 221.5 kB / 0.7813 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1505, allocations: 3.938 kB / 0.7813 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.1506, allocations: 8 kB / 0.7813 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1506, allocations: 0 / 0.7813 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1506, allocations: 7.984 kB / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1506, allocations: 0 / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1506, allocations: 0 / 0.7813 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1509, allocations: 211.3 kB / 0.7815 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1509, allocations: 92.83 kB / 0.7816 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.151, allocations: 4.016 kB / 0.7816 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.1511, allocations: 12 kB / 0.7816 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1511, allocations: 7.984 kB / 0.7816 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1511, allocations: 0 / 0.7816 GB, free: 7.535 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1513, allocations: 186 kB / 0.7818 GB, free: 7.352 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 0.7818 GB, free: 7.352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.1515, allocations: 43.92 kB / 0.7818 GB, free: 7.309 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.0001936/0.1517, allocations: 143.1 kB / 0.782 GB, free: 7.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.152, allocations: 67.95 kB / 0.782 GB, free: 7.094 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.152, allocations: 0 / 0.782 GB, free: 7.094 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.1521, allocations: 40.03 kB / 0.7821 GB, free: 7.055 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1525, allocations: 40.47 kB / 0.7821 GB, free: 7.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.153, allocations: 388.4 kB / 0.7825 GB, free: 6.609 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1532, allocations: 0.7355 MB / 0.7832 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.1533, allocations: 4 kB / 0.7832 GB, free: 5.844 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1533, allocations: 7.438 kB / 0.7832 GB, free: 5.836 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1533, allocations: 0 / 0.7832 GB, free: 5.836 MB / 458.7 MB Notification: Performance of Templates: time 0.004128/0.1575, allocations: 1.683 MB / 0.7848 GB, free: 4.18 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)