Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 84.73 kB / 19.44 MB, free: 464 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 161.7 kB / 22.75 MB, free: 1.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.0679/0.0679, allocations: 8.605 MB / 268.2 MB, free: 4.844 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 340.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.161e-05, allocations: 2.312 kB / 340.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002508/0.002529, allocations: 1.982 MB / 342.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.004447, allocations: 1.333 MB / 343.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.004598, allocations: 4 kB / 343.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.005389, allocations: 310.9 kB / 343.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.005915, allocations: 255 kB / 344 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.006508, allocations: 259.2 kB / 344.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.006864, allocations: 378.9 kB / 344.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.006994, allocations: 32.91 kB / 344.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.007284, allocations: 191.6 kB / 344.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007453, allocations: 143.6 kB / 345 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.007488, allocations: 20 kB / 345 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.007698, allocations: 131.7 kB / 345.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.007784, allocations: 83.69 kB / 345.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.007868, allocations: 71.77 kB / 345.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.00827, allocations: 402.7 kB / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.008273, allocations: 0 / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008274, allocations: 0 / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.00828, allocations: 0 / 345.7 MB, free: 3.195 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008198/0.0091, allocations: 0.605 MB / 346.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.009129, allocations: 8.031 kB / 346.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.009225, allocations: 48.69 kB / 346.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.009564, allocations: 284.1 kB / 346.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.009584, allocations: 16.56 kB / 346.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.009606, allocations: 12.36 kB / 346.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.009851, allocations: 130.9 kB / 346.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.00986, allocations: 0 / 346.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.009877, allocations: 0 / 346.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.009883, allocations: 4 kB / 346.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.01006, allocations: 71.95 kB / 346.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.0106, allocations: 408.1 kB / 347.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.01098, allocations: 146.6 kB / 347.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01111, allocations: 56.92 kB / 347.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.01113, allocations: 4 kB / 347.4 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.01135, allocations: 141.6 kB / 347.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.01136, allocations: 3.938 kB / 347.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006913/0.01205, allocations: 313.2 kB / 347.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.01207, allocations: 55.41 kB / 347.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.01243, allocations: 441.6 kB / 348.4 MB, free: 340 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01245, allocations: 33.7 kB / 348.4 MB, free: 300 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.01253, allocations: 168.5 kB / 348.6 MB, free: 128 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.01256, allocations: 51.62 kB / 348.6 MB, free: 76 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.01262, allocations: 45.7 kB / 348.7 MB, free: 24 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.01284, allocations: 346.9 kB / 349 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.01299, allocations: 48.2 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.01325, allocations: 196.2 kB / 349.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.01365, allocations: 196.5 kB / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01365, allocations: 0 / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005248/0.01417, allocations: 253.1 kB / 349.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01419, allocations: 4 kB / 349.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.0142, allocations: 7.984 kB / 349.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.01422, allocations: 4 kB / 349.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01434, allocations: 27.92 kB / 349.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.01435, allocations: 4 kB / 349.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01449, allocations: 24.14 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.01451, allocations: 12 kB / 349.8 MB, free: 14.83 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) \"residual time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002554/0.01477, allocations: 184.3 kB / 349.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.01489, allocations: 43.69 kB / 350 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.01548, allocations: 264 kB / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01548, allocations: 4 kB / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01549, allocations: 0 / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01549, allocations: 0 / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.0158, allocations: 225.1 kB / 350.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.01581, allocations: 4.125 kB / 350.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.01587, allocations: 15.92 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.01588, allocations: 7.938 kB / 350.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01589, allocations: 0 / 350.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01589, allocations: 0 / 350.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0159, allocations: 7.938 kB / 350.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.01647, allocations: 288.8 kB / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.0166, allocations: 35.75 kB / 350.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.01665, allocations: 11.92 kB / 350.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01677, allocations: 8 kB / 350.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.01684, allocations: 19.91 kB / 350.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.01687, allocations: 8 kB / 350.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004324/0.0173, allocations: 323.1 kB / 351.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0173, allocations: 0 / 351.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.01767, allocations: 67.88 kB / 351.2 MB, free: 13.29 MB / 282.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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002147/0.01981, allocations: 476.9 kB / 351.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.02024, allocations: 159.8 kB / 351.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02024, allocations: 0 / 351.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.02043, allocations: 75.91 kB / 351.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.02091, allocations: 103.9 kB / 352 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.02193, allocations: 0.525 MB / 352.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.02214, allocations: 170.2 kB / 352.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.02228, allocations: 50.94 kB / 352.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.0225, allocations: 24.5 kB / 352.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0225, allocations: 0 / 352.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of Templates: time 0.01076/0.03326, allocations: 4.472 MB / 357.3 MB, free: 7.469 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.654892137041315]