Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7083/0.7083, allocations: 131 MB / 146.3 MB, free: 1.324 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.0009465/0.0009469, allocations: 184.2 kB / 176.4 MB, free: 4.898 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.333/1.333, allocations: 225.7 MB / 431.9 MB, free: 8.82 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.0007838/0.0007839, allocations: 87.8 kB / 0.5003 GB, free: 9.945 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 0.5885 GB, free: 72.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 79.59 MB / 0.6663 GB, free: 8.973 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001633/0.1215, allocations: 1.179 MB / 0.6674 GB, free: 7.777 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005781/0.1221, allocations: 412.1 kB / 0.6678 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1221, allocations: 0 / 0.6678 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1222, allocations: 7.922 kB / 0.6678 GB, free: 7.363 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.1223, allocations: 15.86 kB / 0.6678 GB, free: 7.348 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1224, allocations: 11.98 kB / 0.6678 GB, free: 7.336 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.1225, allocations: 47.86 kB / 0.6679 GB, free: 7.289 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.1226, allocations: 15.98 kB / 0.6679 GB, free: 7.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1226, allocations: 23.91 kB / 0.6679 GB, free: 7.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1227, allocations: 19.86 kB / 0.6679 GB, free: 7.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1227, allocations: 4 kB / 0.6679 GB, free: 7.227 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.1227, allocations: 0 / 0.6679 GB, free: 7.227 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.1227, allocations: 4 kB / 0.6679 GB, free: 7.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.1228, allocations: 49.56 kB / 0.668 GB, free: 7.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.1229, allocations: 39.88 kB / 0.668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1229, allocations: 0 / 0.668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1229, allocations: 0 / 0.668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1229, allocations: 0 / 0.668 GB, free: 7.129 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004438/0.1234, allocations: 362.5 kB / 0.6684 GB, free: 6.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1234, allocations: 8.031 kB / 0.6684 GB, free: 6.723 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.1234, allocations: 4.938 kB / 0.6684 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1235, allocations: 172.2 kB / 0.6685 GB, free: 6.512 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1236, allocations: 12.31 kB / 0.6686 GB, free: 6.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1236, allocations: 8.359 kB / 0.6686 GB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1237, allocations: 58 kB / 0.6686 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1237, allocations: 4 kB / 0.6686 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1237, allocations: 4 kB / 0.6686 GB, free: 6.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1237, allocations: 0 / 0.6686 GB, free: 6.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.1238, allocations: 27.97 kB / 0.6687 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.1242, allocations: 308.7 kB / 0.669 GB, free: 6.043 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.1243, allocations: 50.56 kB / 0.669 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.1244, allocations: 28.94 kB / 0.669 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.1244, allocations: 4 kB / 0.669 GB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1246, allocations: 75.33 kB / 0.6691 GB, free: 5.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1246, allocations: 7.938 kB / 0.6691 GB, free: 5.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001886/0.1248, allocations: 97.55 kB / 0.6692 GB, free: 5.754 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1248, allocations: 55.41 kB / 0.6693 GB, free: 5.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.1249, allocations: 109.8 kB / 0.6694 GB, free: 5.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1249, allocations: 29.7 kB / 0.6694 GB, free: 5.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.125, allocations: 80.14 kB / 0.6695 GB, free: 5.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.125, allocations: 31.62 kB / 0.6695 GB, free: 5.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.125, allocations: 4 kB / 0.6695 GB, free: 5.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.1251, allocations: 318.8 kB / 0.6698 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.1251, allocations: 23.98 kB / 0.6698 GB, free: 5.074 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.1252, allocations: 43.36 kB / 0.6699 GB, free: 5.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.1253, allocations: 59.44 kB / 0.6699 GB, free: 4.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1253, allocations: 0 / 0.6699 GB, free: 4.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.1254, allocations: 97.55 kB / 0.67 GB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1254, allocations: 12.03 kB / 0.67 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1254, allocations: 0 / 0.67 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1255, allocations: 0 / 0.67 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.1255, allocations: 8 kB / 0.67 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1255, allocations: 4 kB / 0.67 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1256, allocations: 11.89 kB / 0.6701 GB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1256, allocations: 4 kB / 0.6701 GB, free: 4.809 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * 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 8.543e-05/0.1257, allocations: 126.4 kB / 0.6702 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1257, allocations: 8 kB / 0.6702 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.1257, allocations: 12.23 kB / 0.6702 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1258, allocations: 4 kB / 0.6702 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1258, allocations: 0 / 0.6702 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1258, allocations: 3.984 kB / 0.6702 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.1261, allocations: 358.4 kB / 0.6705 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1262, allocations: 4.469 kB / 0.6705 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.1262, allocations: 4 kB / 0.6706 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1262, allocations: 4 kB / 0.6706 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1262, allocations: 4 kB / 0.6706 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1262, allocations: 3.938 kB / 0.6706 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1262, allocations: 15.86 kB / 0.6706 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1264, allocations: 167.5 kB / 0.6707 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1264, allocations: 88.95 kB / 0.6708 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1264, allocations: 11.92 kB / 0.6708 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.1265, allocations: 11.94 kB / 0.6708 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1266, allocations: 7.984 kB / 0.6709 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1266, allocations: 4 kB / 0.6709 GB, free: 3.891 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.1266, allocations: 87.27 kB / 0.6709 GB, free: 3.805 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1266, allocations: 0 / 0.6709 GB, free: 3.805 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000207/0.1269, allocations: 12 kB / 0.671 GB, free: 3.793 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.774e-05/0.1269, allocations: 107.2 kB / 0.6711 GB, free: 3.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1271, allocations: 47.92 kB / 0.6711 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1271, allocations: 0 / 0.6711 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.1271, allocations: 35.92 kB / 0.6711 GB, free: 3.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1274, allocations: 4 kB / 0.6711 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.1277, allocations: 176.7 kB / 0.6713 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.128, allocations: 0.69 MB / 0.672 GB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.128, allocations: 4 kB / 0.672 GB, free: 2.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.128, allocations: 11.44 kB / 0.672 GB, free: 2.66 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.128, allocations: 0 / 0.672 GB, free: 2.66 MB / 442.7 MB Notification: Performance of Templates: time 0.002221/0.1303, allocations: 0.6798 MB / 0.6727 GB, free: 1.984 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)