Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.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.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6872/0.6872, 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.0008884/0.0008884, allocations: 187.8 kB / 176.4 MB, free: 4.879 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.3/1.3, allocations: 225.7 MB / 432 MB, free: 8.832 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.0006977/0.0006976, allocations: 94.34 kB / 0.5003 GB, free: 9.945 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 8 kB / 0.5885 GB, free: 72.72 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 79.6 MB / 0.6662 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001655/0.1203, allocations: 1.256 MB / 0.6675 GB, free: 7.691 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.1211, allocations: 0.5959 MB / 0.6681 GB, free: 7.055 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1212, allocations: 3.938 kB / 0.6681 GB, free: 7.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.1213, allocations: 11.94 kB / 0.6681 GB, free: 7.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.1213, allocations: 19.84 kB / 0.6681 GB, free: 7.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1215, allocations: 35.91 kB / 0.6681 GB, free: 6.984 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1217, allocations: 107.7 kB / 0.6682 GB, free: 6.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.1218, allocations: 20.22 kB / 0.6682 GB, free: 6.855 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1219, allocations: 47.83 kB / 0.6683 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.122, allocations: 51.75 kB / 0.6683 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.122, allocations: 4 kB / 0.6683 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.1221, allocations: 4 kB / 0.6683 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1221, allocations: 15.92 kB / 0.6684 GB, free: 6.734 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.1222, allocations: 65.48 kB / 0.6684 GB, free: 6.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1223, allocations: 91.89 kB / 0.6685 GB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1223, allocations: 0 / 0.6685 GB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1223, allocations: 4 kB / 0.6685 GB, free: 6.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.1223, allocations: 0 / 0.6685 GB, free: 6.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007233/0.1231, allocations: 474.5 kB / 0.669 GB, free: 6.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1231, allocations: 12.03 kB / 0.669 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1232, allocations: 12.84 kB / 0.669 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1234, allocations: 204 kB / 0.6692 GB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1234, allocations: 4.375 kB / 0.6692 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1234, allocations: 12.31 kB / 0.6692 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.1238, allocations: 141.9 kB / 0.6693 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1238, allocations: 0 / 0.6693 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1238, allocations: 8 kB / 0.6693 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1238, allocations: 0 / 0.6693 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.1242, allocations: 143.8 kB / 0.6695 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1248, allocations: 348.7 kB / 0.6698 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.1252, allocations: 154.5 kB / 0.67 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.1254, allocations: 112.9 kB / 0.6701 GB, free: 4.812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1254, allocations: 0 / 0.6701 GB, free: 4.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.1258, allocations: 159.3 kB / 0.6702 GB, free: 4.645 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1258, allocations: 4 kB / 0.6702 GB, free: 4.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007526/0.1266, allocations: 358.9 kB / 0.6706 GB, free: 4.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.1266, allocations: 89.11 kB / 0.6707 GB, free: 4.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1267, allocations: 137.8 kB / 0.6708 GB, free: 4.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1268, allocations: 29.7 kB / 0.6708 GB, free: 3.992 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.1268, allocations: 104 kB / 0.6709 GB, free: 3.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1269, allocations: 27.69 kB / 0.6709 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.1269, allocations: 4 kB / 0.6709 GB, free: 3.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.127, allocations: 326.8 kB / 0.6713 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1272, allocations: 95.94 kB / 0.6713 GB, free: 3.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.1274, allocations: 87.94 kB / 0.6714 GB, free: 3.348 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.1279, allocations: 293.9 kB / 0.6717 GB, free: 3.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1279, allocations: 0 / 0.6717 GB, free: 3.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000544/0.1285, allocations: 308.9 kB / 0.672 GB, free: 2.719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.1285, allocations: 71.39 kB / 0.6721 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1286, allocations: 0 / 0.6721 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1286, allocations: 7.938 kB / 0.6721 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1287, allocations: 27.97 kB / 0.6721 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1287, allocations: 0 / 0.6721 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1289, allocations: 43.89 kB / 0.6721 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1289, allocations: 0 / 0.6721 GB, free: 2.559 MB / 442.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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.000138/0.1291, allocations: 171.4 kB / 0.6723 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1291, allocations: 11.91 kB / 0.6723 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1291, allocations: 12.7 kB / 0.6723 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1292, allocations: 4 kB / 0.6723 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1292, allocations: 0 / 0.6723 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1292, allocations: 0 / 0.6723 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1293, allocations: 209.4 kB / 0.6725 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1293, allocations: 0 / 0.6725 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1295, allocations: 15.98 kB / 0.6726 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1295, allocations: 8 kB / 0.6726 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1295, allocations: 4.469 kB / 0.6726 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1295, allocations: 0 / 0.6726 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1295, allocations: 0 / 0.6726 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.1301, allocations: 334.4 kB / 0.6729 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1301, allocations: 88.95 kB / 0.673 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1301, allocations: 0 / 0.673 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1303, allocations: 35.95 kB / 0.673 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1304, allocations: 27.97 kB / 0.673 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1305, allocations: 0 / 0.673 GB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.1305, allocations: 109.3 kB / 0.6731 GB, free: 1.445 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 0.6731 GB, free: 1.445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000189/0.1307, allocations: 27.94 kB / 0.6732 GB, free: 1.418 MB / 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: 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001243/0.1309, allocations: 111.8 kB / 0.6733 GB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.1315, allocations: 370.7 kB / 0.6736 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1315, allocations: 4 kB / 0.6736 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.1318, allocations: 207.2 kB / 0.6738 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.132, allocations: 15.98 kB / 0.6738 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.1326, allocations: 343.3 kB / 0.6742 GB, free: 316 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1328, allocations: 0.7004 MB / 0.6749 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.1329, allocations: 15.98 kB / 0.6749 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.133, allocations: 11.44 kB / 0.6749 GB, free: 15.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.133, allocations: 0 / 0.6749 GB, free: 15.55 MB / 458.7 MB Notification: Performance of Templates: time 0.003705/0.1367, allocations: 1.532 MB / 0.6764 GB, free: 14.04 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)