Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7282/0.7282, allocations: 131 MB / 146.3 MB, free: 1.32 MB / 106.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.0009314/0.0009313, allocations: 194.6 kB / 176.4 MB, free: 4.906 MB / 138.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.418/1.418, allocations: 225.7 MB / 432 MB, free: 8.801 MB / 314.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.0008434/0.0008434, allocations: 89.58 kB / 0.5003 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003123, allocations: 10.16 kB / 0.5885 GB, free: 72.72 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 79.6 MB / 0.6663 GB, free: 8.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001279/0.1283, allocations: 0.9744 MB / 0.6672 GB, free: 7.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1317, allocations: 3.544 MB / 0.6707 GB, free: 4.297 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.1318, allocations: 0 / 0.6707 GB, free: 4.297 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.1318, allocations: 0 / 0.6707 GB, free: 4.297 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1318, allocations: 3.938 kB / 0.6707 GB, free: 4.293 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1322, allocations: 95.61 kB / 0.6708 GB, free: 4.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.1323, allocations: 27.92 kB / 0.6708 GB, free: 4.172 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.1324, allocations: 11.97 kB / 0.6708 GB, free: 4.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1324, allocations: 19.88 kB / 0.6708 GB, free: 4.141 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.1325, allocations: 19.92 kB / 0.6708 GB, free: 4.121 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1325, allocations: 0 / 0.6708 GB, free: 4.121 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.1327, allocations: 75.8 kB / 0.6709 GB, free: 4.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.1327, allocations: 0 / 0.6709 GB, free: 4.047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1327, allocations: 49.61 kB / 0.671 GB, free: 3.992 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1329, allocations: 76.12 kB / 0.671 GB, free: 3.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1329, allocations: 0 / 0.671 GB, free: 3.918 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.133, allocations: 3.938 kB / 0.671 GB, free: 3.914 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.133, allocations: 0 / 0.671 GB, free: 3.914 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003217/0.1333, allocations: 335.5 kB / 0.6713 GB, free: 3.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.1333, allocations: 8.031 kB / 0.6714 GB, free: 3.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1334, allocations: 8.844 kB / 0.6714 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.1335, allocations: 168.3 kB / 0.6715 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1335, allocations: 8.375 kB / 0.6715 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1335, allocations: 8.375 kB / 0.6715 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1337, allocations: 53.8 kB / 0.6716 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1337, allocations: 0 / 0.6716 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1337, allocations: 0 / 0.6716 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1337, allocations: 0 / 0.6716 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.1338, allocations: 23.97 kB / 0.6716 GB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1339, allocations: 161.7 kB / 0.6718 GB, free: 3.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.134, allocations: 54.5 kB / 0.6718 GB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.134, allocations: 16.84 kB / 0.6718 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.1347, allocations: 0.5948 MB / 0.6724 GB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1347, allocations: 34.56 kB / 0.6725 GB, free: 2.188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1347, allocations: 0 / 0.6725 GB, free: 2.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004864/0.1352, allocations: 310.1 kB / 0.6727 GB, free: 1.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1353, allocations: 55.41 kB / 0.6728 GB, free: 1.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.1353, allocations: 101.8 kB / 0.6729 GB, free: 1.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1353, allocations: 29.7 kB / 0.6729 GB, free: 1.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.1354, allocations: 84.05 kB / 0.673 GB, free: 1.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1354, allocations: 31.55 kB / 0.673 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1354, allocations: 0 / 0.673 GB, free: 1.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.1355, allocations: 326.8 kB / 0.6733 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.1355, allocations: 12 kB / 0.6734 GB, free: 1.164 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.1356, allocations: 49.14 kB / 0.6734 GB, free: 1.098 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.1357, allocations: 69.09 kB / 0.6735 GB, free: 1.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1357, allocations: 4 kB / 0.6735 GB, free: 1.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000122/0.1358, allocations: 93.55 kB / 0.6736 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1358, allocations: 4 kB / 0.6736 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1359, allocations: 3.984 kB / 0.6736 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1359, allocations: 7.938 kB / 0.6736 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.1359, allocations: 16.12 kB / 0.6736 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.136, allocations: 8 kB / 0.6736 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.136, allocations: 3.938 kB / 0.6736 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.136, allocations: 4 kB / 0.6736 GB, free: 0.8633 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.616e-05/0.1361, allocations: 121.8 kB / 0.6737 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1361, allocations: 7.906 kB / 0.6737 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.1361, allocations: 11.91 kB / 0.6737 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1362, allocations: 0 / 0.6737 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1362, allocations: 0 / 0.6737 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1362, allocations: 7.938 kB / 0.6738 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1364, allocations: 177.7 kB / 0.6739 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1364, allocations: 0 / 0.6739 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.1365, allocations: 19.98 kB / 0.6739 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1365, allocations: 0 / 0.6739 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1365, allocations: 0 / 0.6739 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1365, allocations: 0 / 0.6739 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1365, allocations: 3.938 kB / 0.6739 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1367, allocations: 167.4 kB / 0.6741 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1367, allocations: 93.05 kB / 0.6742 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1368, allocations: 4.438 kB / 0.6742 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.1369, allocations: 4 kB / 0.6742 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.1369, allocations: 3.984 kB / 0.6742 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1369, allocations: 11.94 kB / 0.6742 GB, free: 152 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.1369, allocations: 87.64 kB / 0.6743 GB, free: 64 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.137, allocations: 0 / 0.6743 GB, free: 64 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002/0.1372, allocations: 8 kB / 0.6743 GB, free: 56 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001209/0.1373, allocations: 111.3 kB / 0.6744 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1374, allocations: 47.84 kB / 0.6745 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1374, allocations: 0 / 0.6745 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.1374, allocations: 15.94 kB / 0.6745 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1377, allocations: 8.312 kB / 0.6745 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.1382, allocations: 390.9 kB / 0.6749 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1384, allocations: 0.6809 MB / 0.6755 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1385, allocations: 8 kB / 0.6755 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.1385, allocations: 11.44 kB / 0.6755 GB, free: 14.73 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.1385, allocations: 0 / 0.6755 GB, free: 14.73 MB / 458.7 MB Notification: Performance of Templates: time 0.002238/0.1408, allocations: 0.6078 MB / 0.6761 GB, free: 14.12 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)