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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 117.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06157/0.06157, allocations: 11.34 MB / 314.7 MB, free: 0.8633 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002185/0.002185, allocations: 67.89 kB / 438.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2824, allocations: 54.83 MB / 493.3 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.00297/0.2854, allocations: 1.997 MB / 495.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2873, allocations: 1.27 MB / 496.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2874, allocations: 6.688 kB / 496.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.2883, allocations: 279.1 kB / 496.9 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.2888, allocations: 201.3 kB / 497.1 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.2895, allocations: 321.1 kB / 497.4 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.2899, allocations: 333.8 kB / 497.7 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.29, allocations: 30.78 kB / 497.8 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2902, allocations: 146 kB / 497.9 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2904, allocations: 149.6 kB / 498 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.2905, allocations: 21.72 kB / 498.1 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2907, allocations: 107.9 kB / 498.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2908, allocations: 78.7 kB / 498.2 MB, free: 21.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2909, allocations: 111.9 kB / 498.4 MB, free: 21.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.2914, allocations: 359.2 kB / 498.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2914, allocations: 0.875 kB / 498.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2914, allocations: 0 / 498.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2914, allocations: 0 / 498.7 MB, free: 20.96 MB / 366.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.0008421/0.2922, allocations: 0.6586 MB / 499.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2923, allocations: 13.89 kB / 499.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2923, allocations: 30.22 kB / 499.4 MB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.2927, allocations: 328 kB / 499.7 MB, free: 20.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2927, allocations: 12.84 kB / 499.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.2927, allocations: 15.98 kB / 499.8 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.293, allocations: 147.8 kB / 499.9 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.293, allocations: 1.156 kB / 499.9 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.293, allocations: 9.141 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.293, allocations: 2.125 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.2932, allocations: 73.12 kB / 500 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.2938, allocations: 471.7 kB / 0.4887 GB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2941, allocations: 141.3 kB / 0.4888 GB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2942, allocations: 48.08 kB / 0.4889 GB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2943, allocations: 5.922 kB / 0.4889 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.2945, allocations: 132.6 kB / 0.489 GB, free: 19.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.2945, allocations: 0 / 0.489 GB, free: 19.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005932/0.2951, allocations: 262.3 kB / 0.4893 GB, free: 19.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2952, allocations: 106.4 kB / 0.4894 GB, free: 18.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.2956, allocations: 385.5 kB / 0.4897 GB, free: 18.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2956, allocations: 31.95 kB / 0.4898 GB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.2957, allocations: 159.6 kB / 0.4899 GB, free: 18.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2957, allocations: 46.8 kB / 0.49 GB, free: 18.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.2958, allocations: 47.09 kB / 0.49 GB, free: 18.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.2959, allocations: 343.1 kB / 0.4903 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.296, allocations: 47.88 kB / 0.4904 GB, free: 18.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2961, allocations: 149.7 kB / 0.4905 GB, free: 17.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2964, allocations: 178.6 kB / 0.4907 GB, free: 17.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2964, allocations: 1.125 kB / 0.4907 GB, free: 17.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003675/0.2968, allocations: 227.7 kB / 0.4909 GB, free: 17.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2968, allocations: 7.562 kB / 0.4909 GB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.2968, allocations: 2.594 kB / 0.4909 GB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2968, allocations: 3.875 kB / 0.4909 GB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.297, allocations: 34.2 kB / 0.491 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.297, allocations: 3.25 kB / 0.491 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2971, allocations: 33.73 kB / 0.491 GB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2972, allocations: 11.66 kB / 0.491 GB, free: 17.64 MB / 366.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.0002029/0.2974, allocations: 173.3 kB / 0.4912 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2974, allocations: 33.95 kB / 0.4912 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.2975, allocations: 34.05 kB / 0.4912 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2975, allocations: 2.188 kB / 0.4912 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2975, allocations: 4 kB / 0.4912 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2975, allocations: 3.938 kB / 0.4913 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2977, allocations: 291.4 kB / 0.4915 GB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2977, allocations: 1.25 kB / 0.4915 GB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.2978, allocations: 10.25 kB / 0.4915 GB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2978, allocations: 1.094 kB / 0.4915 GB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2978, allocations: 10.23 kB / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2978, allocations: 1.125 kB / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2978, allocations: 0 / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.2982, allocations: 258.3 kB / 0.4918 GB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.2982, allocations: 104.9 kB / 0.4919 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2983, allocations: 6.375 kB / 0.4919 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.2984, allocations: 9.391 kB / 0.4919 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.2984, allocations: 13.14 kB / 0.4919 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.2985, allocations: 10.95 kB / 0.4919 GB, free: 16.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.2987, allocations: 279 kB / 0.4922 GB, free: 16.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2987, allocations: 4 kB / 0.4922 GB, free: 16.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.2991, allocations: 65.91 kB / 0.4923 GB, free: 16.64 MB / 366.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,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 9 * 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.001493/0.3006, allocations: 443.7 kB / 0.4927 GB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.301, allocations: 141.2 kB / 0.4928 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.301, allocations: 4.438 kB / 0.4928 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3011, allocations: 66.95 kB / 0.4929 GB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.3015, allocations: 81.89 kB / 0.493 GB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.3023, allocations: 0.5009 MB / 0.4935 GB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.3025, allocations: 0.7736 MB / 0.4942 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.3026, allocations: 29.59 kB / 0.4942 GB, free: 15.19 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3026, allocations: 1.094 kB / 0.4942 GB, free: 15.19 MB / 366.1 MB Notification: Performance of Templates: time 0.00699/0.3096, allocations: 4.341 MB / 0.4985 GB, free: 12.93 MB / 366.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: 7.536724189063534] Failed to read output from testmodel.py, exit status != 0: 0.31783165293745697 0.32630279 0.032876645 Calling exit ...