Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7266/0.7266, allocations: 131 MB / 146.3 MB, free: 1.297 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.0009284/0.0009285, allocations: 183.8 kB / 176.4 MB, free: 4.871 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.386/1.386, allocations: 225.7 MB / 431.9 MB, free: 8.773 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.0007586/0.0007584, allocations: 93.44 kB / 0.5003 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003083, allocations: 12 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 79.6 MB / 0.6663 GB, free: 8.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.003393/0.119, allocations: 3.129 MB / 0.6693 GB, free: 5.762 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1211, allocations: 1.392 MB / 0.6707 GB, free: 4.344 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1213, allocations: 23.88 kB / 0.6707 GB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1216, allocations: 91.11 kB / 0.6708 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.122, allocations: 143.1 kB / 0.6709 GB, free: 4.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.123, allocations: 0.5578 MB / 0.6715 GB, free: 3.531 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.1238, allocations: 0.9174 MB / 0.6724 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.1242, allocations: 329.6 kB / 0.6727 GB, free: 2.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.1245, allocations: 286.3 kB / 0.6729 GB, free: 2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.1248, allocations: 278.1 kB / 0.6732 GB, free: 1.727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.1249, allocations: 28 kB / 0.6732 GB, free: 1.699 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.125, allocations: 20 kB / 0.6733 GB, free: 1.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1251, allocations: 119.3 kB / 0.6734 GB, free: 1.562 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1253, allocations: 327.5 kB / 0.6737 GB, free: 1.234 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.126, allocations: 0.8056 MB / 0.6745 GB, free: 436 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.126, allocations: 0 / 0.6745 GB, free: 436 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.126, allocations: 0 / 0.6745 GB, free: 436 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.126, allocations: 3.938 kB / 0.6745 GB, free: 432 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001724/0.1277, allocations: 1.067 MB / 0.6755 GB, free: 15.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1278, allocations: 15.91 kB / 0.6755 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1279, allocations: 99.8 kB / 0.6756 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.1287, allocations: 0.5871 MB / 0.6762 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1288, allocations: 97.28 kB / 0.6763 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.1289, allocations: 60.36 kB / 0.6764 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.13, allocations: 0.6237 MB / 0.677 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.13, allocations: 0 / 0.677 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.13, allocations: 27.98 kB / 0.677 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1301, allocations: 16 kB / 0.677 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.131, allocations: 451.6 kB / 0.6774 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1335, allocations: 2.153 MB / 0.6795 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1347, allocations: 0.5036 MB / 0.68 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.1351, allocations: 232.7 kB / 0.6802 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1352, allocations: 7.953 kB / 0.6803 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.1358, allocations: 297.9 kB / 0.6805 GB, free: 9.941 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 1.673e-06/0.1358, allocations: 5.094 kB / 0.6805 GB, free: 9.938 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001332/0.1371, allocations: 0.6269 MB / 0.6812 GB, free: 9.305 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1372, allocations: 88.86 kB / 0.6812 GB, free: 9.199 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.1378, allocations: 0.6099 MB / 0.6818 GB, free: 8.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.1379, allocations: 37.7 kB / 0.6819 GB, free: 8.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.1381, allocations: 364.8 kB / 0.6822 GB, free: 8.176 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1383, allocations: 153.8 kB / 0.6824 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.1383, allocations: 8 kB / 0.6824 GB, free: 8.016 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1384, allocations: 329.9 kB / 0.6827 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.1388, allocations: 189 kB / 0.6829 GB, free: 7.504 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.1393, allocations: 304.1 kB / 0.6832 GB, free: 7.172 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.1402, allocations: 493.9 kB / 0.6836 GB, free: 6.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1402, allocations: 0 / 0.6836 GB, free: 6.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00108/0.1413, allocations: 0.6217 MB / 0.6842 GB, free: 6.012 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1414, allocations: 193.3 kB / 0.6844 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1414, allocations: 0 / 0.6844 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1414, allocations: 4 kB / 0.6844 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1419, allocations: 119.8 kB / 0.6845 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1419, allocations: 4 kB / 0.6845 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1422, allocations: 71.44 kB / 0.6846 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.1423, allocations: 16 kB / 0.6846 GB, free: 5.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.1423, allocations: 4 kB / 0.6846 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007831/0.1431, allocations: 491.8 kB / 0.6851 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1431, allocations: 8.312 kB / 0.6851 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-06/0.1431, allocations: 4 kB / 0.6851 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1435, allocations: 103.8 kB / 0.6852 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1435, allocations: 4 kB / 0.6852 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.1438, allocations: 55.52 kB / 0.6853 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.1438, allocations: 19.98 kB / 0.6853 GB, free: 4.891 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002343/0.1441, allocations: 284.9 kB / 0.6856 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.1441, allocations: 71.06 kB / 0.6856 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1443, allocations: 79.22 kB / 0.6857 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1443, allocations: 4 kB / 0.6857 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1443, allocations: 3.938 kB / 0.6857 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1443, allocations: 3.984 kB / 0.6857 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.1449, allocations: 0.6296 MB / 0.6863 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1449, allocations: 0 / 0.6863 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.1454, allocations: 87.89 kB / 0.6864 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1454, allocations: 7.938 kB / 0.6864 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1454, allocations: 8 kB / 0.6864 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1454, allocations: 0 / 0.6864 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1454, allocations: 3.984 kB / 0.6864 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1468, allocations: 0.7473 MB / 0.6872 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.147, allocations: 204.1 kB / 0.6874 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.1471, allocations: 12 kB / 0.6874 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1475, allocations: 43.97 kB / 0.6874 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.1476, allocations: 31.95 kB / 0.6874 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.1476, allocations: 15.98 kB / 0.6875 GB, free: 2.562 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004375/0.1481, allocations: 427 kB / 0.6879 GB, free: 2.152 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 0.6879 GB, free: 2.152 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.1486, allocations: 219.3 kB / 0.6881 GB, free: 1.938 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001442/0.1487, allocations: 123.1 kB / 0.6882 GB, free: 1.809 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1502, allocations: 0.7963 MB / 0.689 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1502, allocations: 0.75 kB / 0.689 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.1506, allocations: 231.8 kB / 0.6892 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.1515, allocations: 200.8 kB / 0.6894 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1535, allocations: 1.466 MB / 0.6908 GB, free: 15.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1539, allocations: 0.9183 MB / 0.6917 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.1543, allocations: 93.19 kB / 0.6918 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1544, allocations: 47.44 kB / 0.6918 GB, free: 13.98 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1544, allocations: 0 / 0.6918 GB, free: 13.98 MB / 474.7 MB Notification: Performance of Templates: time 0.01239/0.1668, allocations: 7.438 MB / 0.6991 GB, free: 6.586 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)