Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6855/0.6855, allocations: 131 MB / 146.3 MB, free: 1.309 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.0009232/0.0009233, allocations: 191 kB / 176.4 MB, free: 4.895 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.298/1.298, allocations: 225.7 MB / 431.9 MB, free: 8.836 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.0007502/0.0007503, allocations: 96.78 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 8 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 79.59 MB / 0.6662 GB, free: 8.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003926/0.1322, allocations: 3.535 MB / 0.6697 GB, free: 5.379 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1345, allocations: 1.404 MB / 0.6711 GB, free: 3.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.1348, allocations: 23.88 kB / 0.6711 GB, free: 3.926 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1351, allocations: 95.2 kB / 0.6712 GB, free: 3.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.1354, allocations: 146.8 kB / 0.6713 GB, free: 3.688 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.1362, allocations: 415.5 kB / 0.6717 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.137, allocations: 0.9007 MB / 0.6726 GB, free: 2.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005808/0.1376, allocations: 422.1 kB / 0.673 GB, free: 1.945 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.1379, allocations: 242.7 kB / 0.6732 GB, free: 1.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1382, allocations: 250.4 kB / 0.6735 GB, free: 1.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.1383, allocations: 28 kB / 0.6735 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.1384, allocations: 24 kB / 0.6735 GB, free: 1.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1385, allocations: 107.3 kB / 0.6736 GB, free: 1.305 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.1388, allocations: 335.8 kB / 0.6739 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.1396, allocations: 1.012 MB / 0.6749 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1396, allocations: 0 / 0.6749 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1396, allocations: 0 / 0.6749 GB, free: 15.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1396, allocations: 3.938 kB / 0.6749 GB, free: 15.95 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001465/0.1411, allocations: 0.9524 MB / 0.6759 GB, free: 14.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1412, allocations: 8.031 kB / 0.6759 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1413, allocations: 87.98 kB / 0.676 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.142, allocations: 0.5571 MB / 0.6765 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.142, allocations: 45.69 kB / 0.6765 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.1421, allocations: 68.27 kB / 0.6766 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.1432, allocations: 0.6156 MB / 0.6772 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1432, allocations: 0 / 0.6772 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.1433, allocations: 31.97 kB / 0.6772 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1433, allocations: 16 kB / 0.6773 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.1442, allocations: 473 kB / 0.6777 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.1468, allocations: 2.036 MB / 0.6797 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.1476, allocations: 466.8 kB / 0.6801 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.1481, allocations: 249 kB / 0.6804 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1481, allocations: 4.438 kB / 0.6804 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.1486, allocations: 269.3 kB / 0.6806 GB, free: 9.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 1.823e-06/0.1487, allocations: 0 / 0.6806 GB, free: 9.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.00117/0.1498, allocations: 0.5999 MB / 0.6812 GB, free: 9.293 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1499, allocations: 55.84 kB / 0.6813 GB, free: 9.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1503, allocations: 438 kB / 0.6817 GB, free: 8.785 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1504, allocations: 37.7 kB / 0.6817 GB, free: 8.742 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1506, allocations: 325 kB / 0.682 GB, free: 8.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1507, allocations: 169.5 kB / 0.6822 GB, free: 8.254 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.1507, allocations: 16 kB / 0.6822 GB, free: 8.238 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1509, allocations: 366.8 kB / 0.6826 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.1513, allocations: 169 kB / 0.6827 GB, free: 7.707 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.1517, allocations: 261.8 kB / 0.683 GB, free: 7.426 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.1525, allocations: 468 kB / 0.6834 GB, free: 6.938 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1525, allocations: 0 / 0.6834 GB, free: 6.938 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009894/0.1535, allocations: 0.578 MB / 0.684 GB, free: 6.348 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.1536, allocations: 176.1 kB / 0.6842 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1536, allocations: 0 / 0.6842 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1536, allocations: 4 kB / 0.6842 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.1541, allocations: 123.8 kB / 0.6843 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1542, allocations: 4 kB / 0.6843 GB, free: 6.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1545, allocations: 71.5 kB / 0.6844 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.1545, allocations: 16 kB / 0.6844 GB, free: 5.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.1546, allocations: 4 kB / 0.6844 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008097/0.1554, allocations: 498.9 kB / 0.6849 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1554, allocations: 11.88 kB / 0.6849 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.1554, allocations: 7.938 kB / 0.6849 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.1558, allocations: 116.1 kB / 0.685 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1558, allocations: 4 kB / 0.685 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1561, allocations: 59.56 kB / 0.685 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.1561, allocations: 20 kB / 0.6851 GB, free: 5.211 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002682/0.1564, allocations: 296.9 kB / 0.6853 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1565, allocations: 59.28 kB / 0.6854 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1566, allocations: 65.59 kB / 0.6855 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1566, allocations: 4 kB / 0.6855 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1566, allocations: 0 / 0.6855 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1566, allocations: 3.984 kB / 0.6855 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.1583, allocations: 1.189 MB / 0.6866 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1583, allocations: 0 / 0.6866 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.1587, allocations: 99.88 kB / 0.6867 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1587, allocations: 0 / 0.6867 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.1588, allocations: 12 kB / 0.6867 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1588, allocations: 4 kB / 0.6867 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1588, allocations: 0 / 0.6867 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.16, allocations: 0.7795 MB / 0.6875 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1602, allocations: 172.4 kB / 0.6877 GB, free: 2.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.1603, allocations: 12 kB / 0.6877 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.1606, allocations: 31.97 kB / 0.6877 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.1607, allocations: 36.39 kB / 0.6877 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1607, allocations: 8 kB / 0.6878 GB, free: 2.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.161, allocations: 306.9 kB / 0.688 GB, free: 2.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.161, allocations: 0 / 0.688 GB, free: 2.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.1616, allocations: 262.9 kB / 0.6883 GB, free: 1.789 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001294/0.1617, allocations: 119.2 kB / 0.6884 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.163, allocations: 0.7895 MB / 0.6892 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.163, allocations: 0 / 0.6892 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.1634, allocations: 222.4 kB / 0.6894 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.1642, allocations: 162.4 kB / 0.6895 GB, free: 496 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.1667, allocations: 1.703 MB / 0.6912 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1671, allocations: 0.8906 MB / 0.6921 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003326/0.1675, allocations: 68.66 kB / 0.6921 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1676, allocations: 43.42 kB / 0.6922 GB, free: 13.71 MB / 474.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1676, allocations: 0 / 0.6922 GB, free: 13.71 MB / 474.7 MB Notification: Performance of Templates: time 0.01101/0.1786, allocations: 6.101 MB / 0.6981 GB, free: 7.664 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)