Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.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.001528/0.001528, allocations: 116.6 kB / 17.13 MB, free: 5.941 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.001565/0.001565, allocations: 198.2 kB / 20.08 MB, free: 3.008 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.433/1.433, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.06099/0.06099, allocations: 11.34 MB / 314.7 MB, free: 0.8398 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.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking")
translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 438.5 MB, free: 7.742 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.267, allocations: 54.83 MB / 493.3 MB, free: 24.03 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.00431/0.2713, allocations: 2.467 MB / 495.8 MB, free: 22.28 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003075/0.2744, allocations: 1.455 MB / 497.3 MB, free: 21.29 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.2747, allocations: 18.69 kB / 497.3 MB, free: 21.27 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.2756, allocations: 224 kB / 497.5 MB, free: 21.19 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.2761, allocations: 167.8 kB / 497.7 MB, free: 21.11 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.2777, allocations: 400.1 kB / 498 MB, free: 20.92 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001151/0.2788, allocations: 0.5784 MB / 498.6 MB, free: 20.67 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2791, allocations: 62.09 kB / 498.7 MB, free: 20.63 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.2795, allocations: 215.7 kB / 498.9 MB, free: 20.54 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.28, allocations: 247.9 kB / 499.1 MB, free: 20.42 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.595e-05/0.2801, allocations: 30.75 kB / 499.2 MB, free: 20.42 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.2806, allocations: 152.1 kB / 499.3 MB, free: 20.36 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.2808, allocations: 138.2 kB / 499.4 MB, free: 20.26 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.281, allocations: 201.8 kB / 499.6 MB, free: 20.11 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.2818, allocations: 0.542 MB / 0.4885 GB, free: 19.73 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2818, allocations: 1.188 kB / 0.4885 GB, free: 19.73 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.2818, allocations: 0 / 0.4885 GB, free: 19.73 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.418e-06/0.2818, allocations: 0 / 0.4885 GB, free: 19.73 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: 85
 * Number of variables: 85
Notification: Performance of Generate backend data structure: time 0.001602/0.2834, allocations: 0.8948 MB / 0.4893 GB, free: 18.94 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2835, allocations: 13.02 kB / 0.4894 GB, free: 18.93 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2836, allocations: 61.22 kB / 0.4894 GB, free: 18.9 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.2843, allocations: 454.2 kB / 0.4898 GB, free: 18.52 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.2844, allocations: 27.78 kB / 0.4899 GB, free: 18.5 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/0.2845, allocations: 46.61 kB / 0.4899 GB, free: 18.48 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008821/0.2853, allocations: 432.7 kB / 0.4903 GB, free: 18.19 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.2854, allocations: 2.188 kB / 0.4903 GB, free: 18.19 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.2854, allocations: 19.55 kB / 0.4903 GB, free: 18.17 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.2854, allocations: 12.34 kB / 0.4904 GB, free: 18.17 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.2861, allocations: 275.4 kB / 0.4906 GB, free: 18.05 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.2885, allocations: 1.773 MB / 0.4924 GB, free: 16.52 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.2892, allocations: 195.2 kB / 0.4925 GB, free: 16.41 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.2895, allocations: 113.9 kB / 0.4926 GB, free: 16.36 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.2895, allocations: 2.688 kB / 0.4927 GB, free: 16.36 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.2899, allocations: 211.1 kB / 0.4929 GB, free: 16.2 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.2899, allocations: 0 / 0.4929 GB, free: 16.2 MB / 366.1 MB
Notification: Performance of matching and sorting (n=28): time 0.001187/0.2911, allocations: 488.1 kB / 0.4933 GB, free: 15.96 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.2912, allocations: 115.1 kB / 0.4934 GB, free: 15.82 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.2919, allocations: 0.5119 MB / 0.4939 GB, free: 15.52 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2919, allocations: 31.92 kB / 0.494 GB, free: 15.48 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.2921, allocations: 275.8 kB / 0.4942 GB, free: 15.24 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.2922, allocations: 103.7 kB / 0.4943 GB, free: 15.15 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2924, allocations: 86.61 kB / 0.4944 GB, free: 15.09 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 9.622e-05/0.2925, allocations: 364.9 kB / 0.4948 GB, free: 14.74 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.2927, allocations: 112.9 kB / 0.4949 GB, free: 14.7 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2931, allocations: 278 kB / 0.4951 GB, free: 14.44 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.2951, allocations: 0.7646 MB / 0.4959 GB, free: 13.88 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2951, allocations: 2.312 kB / 0.4959 GB, free: 13.88 MB / 366.1 MB
Notification: Performance of matching and sorting (n=55) (initialization): time 0.001116/0.2962, allocations: 0.5338 MB / 0.4964 GB, free: 13.59 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.2963, allocations: 39.09 kB / 0.4964 GB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2963, allocations: 4.344 kB / 0.4964 GB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.2963, allocations: 6.406 kB / 0.4964 GB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.2967, allocations: 87.2 kB / 0.4965 GB, free: 13.54 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.2967, allocations: 10.72 kB / 0.4965 GB, free: 13.53 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.2971, allocations: 62.52 kB / 0.4966 GB, free: 13.49 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.2971, allocations: 21.41 kB / 0.4966 GB, free: 13.48 MB / 366.1 MB
Warning: Assuming fixed start value for the following 6 variables:
         processTrack.w:VARIABLE(fixed = true protected = true )  \"proper part of the output\" type: Real
         processTrack.U[2]:VARIABLE(fixed = true protected = true )  type: Real [2]
         processTrack.Y[3]:VARIABLE(fixed = true protected = true )  type: Real [3]
         process.w:VARIABLE(fixed = true protected = true )  \"proper part of the output\" type: Real
         process.U[2]:VARIABLE(fixed = true protected = true )  type: Real [2]
         process.Y[3]:VARIABLE(fixed = true protected = true )  type: Real [3]
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 20
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (50):
 * Single equations (assignments): 49
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0003599/0.2975, allocations: 251.7 kB / 0.4969 GB, free: 13.27 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.2976, allocations: 51.17 kB / 0.4969 GB, free: 13.24 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/0.2986, allocations: 442.5 kB / 0.4973 GB, free: 13 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2986, allocations: 2.344 kB / 0.4973 GB, free: 13 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2986, allocations: 5.062 kB / 0.4973 GB, free: 13 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2986, allocations: 0 / 0.4973 GB, free: 13 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.2991, allocations: 431.4 kB / 0.4977 GB, free: 12.63 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2991, allocations: 0 / 0.4977 GB, free: 12.63 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.2995, allocations: 48.5 kB / 0.4978 GB, free: 12.62 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2995, allocations: 1.531 kB / 0.4978 GB, free: 12.62 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.2995, allocations: 17.8 kB / 0.4978 GB, free: 12.61 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2996, allocations: 5.25 kB / 0.4978 GB, free: 12.61 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2996, allocations: 3.938 kB / 0.4978 GB, free: 12.6 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3008, allocations: 0.5907 MB / 0.4984 GB, free: 12.28 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3009, allocations: 126.3 kB / 0.4985 GB, free: 12.15 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.301, allocations: 9.406 kB / 0.4985 GB, free: 12.14 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.3012, allocations: 19.77 kB / 0.4985 GB, free: 12.13 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.3013, allocations: 25.5 kB / 0.4986 GB, free: 12.12 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.3013, allocations: 11.53 kB / 0.4986 GB, free: 12.11 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0005007/0.3018, allocations: 357.1 kB / 0.4989 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.4e-07/0.3018, allocations: 0 / 0.4989 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007301/0.3026, allocations: 107 kB / 0.499 GB, free: 11.89 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w)
 * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled)
 * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (25):
 * Single equations (assignments): 22
 * 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.002066/0.3046, allocations: 479.3 kB / 0.4995 GB, free: 11.66 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009232/0.3056, allocations: 374 kB / 0.4998 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3056, allocations: 1.25 kB / 0.4998 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.3059, allocations: 195 kB / 0.5 GB, free: 11.34 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.3066, allocations: 78.44 kB / 0.5001 GB, free: 11.31 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3083, allocations: 0.9114 MB / 0.501 GB, free: 10.71 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3087, allocations: 0.8622 MB / 0.5018 GB, free: 9.93 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3088, allocations: 35.62 kB / 0.5019 GB, free: 9.922 MB / 366.1 MB
Notification: Performance of SimCode: time 6.71e-07/0.3088, allocations: 0 / 0.5019 GB, free: 9.922 MB / 366.1 MB
Notification: Performance of Templates: time 0.01468/0.3235, allocations: 6.258 MB / 0.508 GB, free: 5.531 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660]
(rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.983273515943438]
Failed to read output from testmodel.py, exit status != 0:
0.3323324129451066 0.346374775 0.061405969000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6e10da2050>