Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.001312/0.001312, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001428/0.001428, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.207 MB / 190.1 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.06298/0.06298, allocations: 8.612 MB / 267.8 MB, free: 8.602 MB / 254.1 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_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 395.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.857e-05, allocations: 2.281 kB / 395.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003827/0.003855, allocations: 1.963 MB / 397.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.006649, allocations: 1.336 MB / 398.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.006791, allocations: 7.938 kB / 398.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.007826, allocations: 287.1 kB / 399.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.008458, allocations: 258.9 kB / 399.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.009115, allocations: 258.7 kB / 399.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.009558, allocations: 363 kB / 400 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.009688, allocations: 32.91 kB / 400.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.009978, allocations: 195.5 kB / 400.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.01021, allocations: 131.6 kB / 400.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.01025, allocations: 19.94 kB / 400.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.0105, allocations: 119.8 kB / 400.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.01065, allocations: 83.67 kB / 400.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.01079, allocations: 67.78 kB / 400.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.01155, allocations: 378.8 kB / 401 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.01156, allocations: 0 / 401 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01156, allocations: 4 kB / 401 MB, free: 1.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.01157, allocations: 0 / 401 MB, free: 1.223 MB / 318.1 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.001469/0.01304, allocations: 0.5896 MB / 401.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.01308, allocations: 8.031 kB / 401.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.0132, allocations: 36.7 kB / 401.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.01386, allocations: 257.8 kB / 401.9 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.01389, allocations: 8.547 kB / 401.9 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.01394, allocations: 12.38 kB / 401.9 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.01437, allocations: 140.7 kB / 402.1 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01438, allocations: 0 / 402.1 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.01441, allocations: 4 kB / 402.1 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01442, allocations: 4 kB / 402.1 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.01471, allocations: 67.95 kB / 402.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01577, allocations: 396.1 kB / 402.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.01631, allocations: 134.8 kB / 402.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.0165, allocations: 60.77 kB / 402.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01652, allocations: 3.938 kB / 402.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.01691, allocations: 131.3 kB / 402.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.01691, allocations: 3.938 kB / 402.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009533/0.01787, allocations: 285.2 kB / 403.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.01796, allocations: 59.34 kB / 403.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.01869, allocations: 392.5 kB / 403.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.01873, allocations: 37.7 kB / 403.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.01893, allocations: 164.5 kB / 403.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.019, allocations: 47.67 kB / 403.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01911, allocations: 45.7 kB / 403.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.01934, allocations: 342.8 kB / 404.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.01952, allocations: 47.97 kB / 404.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.01983, allocations: 182.3 kB / 404.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.02032, allocations: 196.4 kB / 404.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.02032, allocations: 0 / 404.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006332/0.02096, allocations: 237.2 kB / 404.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.02098, allocations: 4 kB / 404.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.02099, allocations: 4 kB / 404.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.02102, allocations: 7.938 kB / 404.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.02122, allocations: 35.91 kB / 404.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.02123, allocations: 0 / 404.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.02142, allocations: 23.89 kB / 404.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.02145, allocations: 8 kB / 404.9 MB, free: 13.05 MB / 334.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.run:DISCRETE(fixed = true ) \"Flag: true while the timer is counting\" 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: 22 ($PRE.timer.Sd,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$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,timer.Sd) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0003031/0.02175, allocations: 184.7 kB / 405.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.02183, allocations: 31.75 kB / 405.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/0.02254, allocations: 248.6 kB / 405.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.02255, allocations: 4 kB / 405.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.02255, allocations: 0 / 405.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.02256, allocations: 3.984 kB / 405.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.02292, allocations: 221.2 kB / 405.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02292, allocations: 0 / 405.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.02299, allocations: 8 kB / 405.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.023, allocations: 3.938 kB / 405.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.02302, allocations: 11.98 kB / 405.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.02303, allocations: 0 / 405.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02303, allocations: 3.938 kB / 405.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.02368, allocations: 259.6 kB / 405.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.02377, allocations: 43.67 kB / 405.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.02383, allocations: 4 kB / 405.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.02397, allocations: 11.98 kB / 406 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.02405, allocations: 15.98 kB / 406 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.02408, allocations: 7.984 kB / 406 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004976/0.02458, allocations: 291 kB / 406.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02458, allocations: 0 / 406.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.02515, allocations: 67.88 kB / 406.3 MB, free: 11.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,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 (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.002415/0.02756, allocations: 475 kB / 406.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005486/0.02811, allocations: 151.8 kB / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02811, allocations: 0 / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.02836, allocations: 75.81 kB / 407 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.02903, allocations: 80.83 kB / 407.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.03024, allocations: 495.1 kB / 407.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.03049, allocations: 163.6 kB / 407.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.03066, allocations: 50.5 kB / 407.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.03077, allocations: 28.5 kB / 407.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.03077, allocations: 0 / 407.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of Templates: time 0.01317/0.04394, allocations: 4.285 MB / 412.1 MB, free: 6.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.573698740452528] Failed to read output from testmodel.py, exit status != 0: 0.05361964553594589 0.07675234 0.060663864000000005 Calling exit ...