Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7263/0.7263, allocations: 131 MB / 146.3 MB, free: 1.301 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.0009695/0.0009695, allocations: 176.2 kB / 176.4 MB, free: 4.887 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.5/1.5, allocations: 225.7 MB / 431.9 MB, free: 8.746 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.0007768/0.0007768, allocations: 87.8 kB / 0.5003 GB, free: 9.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 17.03 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 79.6 MB / 0.6663 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00192/0.1418, allocations: 1.458 MB / 0.6677 GB, free: 7.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1429, allocations: 0.8459 MB / 0.6685 GB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.143, allocations: 0 / 0.6685 GB, free: 6.555 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.143, allocations: 11.92 kB / 0.6685 GB, free: 6.543 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.1431, allocations: 11.86 kB / 0.6685 GB, free: 6.531 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1436, allocations: 155.8 kB / 0.6687 GB, free: 6.379 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1437, allocations: 115.6 kB / 0.6688 GB, free: 6.266 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1438, allocations: 49.09 kB / 0.6688 GB, free: 6.219 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1439, allocations: 47.83 kB / 0.6689 GB, free: 6.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.144, allocations: 39.78 kB / 0.6689 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1441, allocations: 7.938 kB / 0.6689 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.1442, allocations: 39.97 kB / 0.669 GB, free: 6.086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1442, allocations: 31.83 kB / 0.669 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.1443, allocations: 65.44 kB / 0.6691 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1445, allocations: 147.8 kB / 0.6692 GB, free: 5.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1445, allocations: 0 / 0.6692 GB, free: 5.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1445, allocations: 0 / 0.6692 GB, free: 5.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1445, allocations: 0 / 0.6692 GB, free: 5.84 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000576/0.1451, allocations: 415.2 kB / 0.6696 GB, free: 5.387 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1451, allocations: 8.031 kB / 0.6696 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.1459, allocations: 136.7 kB / 0.6697 GB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1461, allocations: 192 kB / 0.6699 GB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1462, allocations: 67.97 kB / 0.67 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1462, allocations: 8.375 kB / 0.67 GB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.1467, allocations: 193.6 kB / 0.6702 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1467, allocations: 0 / 0.6702 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1468, allocations: 8 kB / 0.6702 GB, free: 4.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1468, allocations: 0 / 0.6702 GB, free: 4.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.1474, allocations: 199.8 kB / 0.6704 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1484, allocations: 0.49 MB / 0.6709 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.1494, allocations: 270.3 kB / 0.6711 GB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.1497, allocations: 100.9 kB / 0.6712 GB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1497, allocations: 4 kB / 0.6712 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1497, allocations: 30.56 kB / 0.6712 GB, free: 3.574 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1497, allocations: 0 / 0.6712 GB, free: 3.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009529/0.1507, allocations: 317.4 kB / 0.6715 GB, free: 3.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1507, allocations: 63.41 kB / 0.6716 GB, free: 3.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1509, allocations: 137.5 kB / 0.6717 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1509, allocations: 29.7 kB / 0.6718 GB, free: 3.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.151, allocations: 108.2 kB / 0.6719 GB, free: 2.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.151, allocations: 19.66 kB / 0.6719 GB, free: 2.871 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.151, allocations: 4 kB / 0.6719 GB, free: 2.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1511, allocations: 314.8 kB / 0.6722 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.1514, allocations: 95.92 kB / 0.6723 GB, free: 2.457 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.1517, allocations: 110.5 kB / 0.6724 GB, free: 2.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.1523, allocations: 202.4 kB / 0.6726 GB, free: 2.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1523, allocations: 0 / 0.6726 GB, free: 2.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006182/0.1529, allocations: 237.7 kB / 0.6728 GB, free: 1.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1529, allocations: 4 kB / 0.6728 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1529, allocations: 64 / 0.6728 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.153, allocations: 7.938 kB / 0.6728 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.1532, allocations: 55.94 kB / 0.6729 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1532, allocations: 0 / 0.6729 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1534, allocations: 27.97 kB / 0.6729 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1534, allocations: 11.88 kB / 0.6729 GB, free: 1.789 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.000106/0.1535, allocations: 117.8 kB / 0.673 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1536, allocations: 11.91 kB / 0.673 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.1543, allocations: 242.1 kB / 0.6733 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1543, allocations: 8 kB / 0.6733 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1543, allocations: 0 / 0.6733 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1543, allocations: 0 / 0.6733 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1546, allocations: 242.2 kB / 0.6735 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1546, allocations: 0 / 0.6735 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.1548, allocations: 43.94 kB / 0.6735 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1548, allocations: 0 / 0.6735 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1548, allocations: 15.86 kB / 0.6736 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1548, allocations: 0 / 0.6736 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1548, allocations: 4 kB / 0.6736 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.1555, allocations: 319.3 kB / 0.6739 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.1555, allocations: 85.02 kB / 0.674 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1556, allocations: 3.938 kB / 0.674 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.1558, allocations: 39.95 kB / 0.674 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1559, allocations: 11.98 kB / 0.674 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1559, allocations: 11.98 kB / 0.674 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.156, allocations: 97.33 kB / 0.6741 GB, free: 480 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.156, allocations: 0 / 0.6741 GB, free: 480 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.1562, allocations: 24 kB / 0.6741 GB, free: 456 kB / 442.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 (6): * Single equations (assignments): 6 * 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.0001405/0.1564, allocations: 103.2 kB / 0.6742 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.157, allocations: 207.9 kB / 0.6744 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.157, allocations: 0 / 0.6744 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.1573, allocations: 104 kB / 0.6745 GB, free: 28 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1576, allocations: 8 kB / 0.6745 GB, free: 20 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.1583, allocations: 309.4 kB / 0.6748 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1585, allocations: 0.71 MB / 0.6755 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.1586, allocations: 16 kB / 0.6755 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.1587, allocations: 11.42 kB / 0.6755 GB, free: 14.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1587, allocations: 4 kB / 0.6756 GB, free: 14.91 MB / 458.7 MB Notification: Performance of Templates: time 0.003636/0.1623, allocations: 1.358 MB / 0.6769 GB, free: 13.57 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)