Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.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.001172/0.001172, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009574/0.0009574, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.8916/0.8916, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.03514/0.03514, allocations: 8.612 MB / 267.8 MB, free: 5.133 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_tracking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 395.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.333e-05, allocations: 2.281 kB / 395.1 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002742/0.002756, allocations: 2.342 MB / 397.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.005014, allocations: 1.609 MB / 399 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.005308, allocations: 23.75 kB / 399 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.006037, allocations: 222.9 kB / 399.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.006467, allocations: 214.9 kB / 399.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.007247, allocations: 457.4 kB / 399.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.007823, allocations: 0.5827 MB / 400.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.008011, allocations: 69.08 kB / 400.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.008321, allocations: 295.2 kB / 400.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.008553, allocations: 219.4 kB / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.008597, allocations: 36 kB / 401.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.008808, allocations: 155.8 kB / 401.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.008928, allocations: 159.4 kB / 401.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009034, allocations: 131.6 kB / 401.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.009565, allocations: 0.5995 MB / 402.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.009567, allocations: 0 / 402.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009568, allocations: 0 / 402.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.009575, allocations: 0 / 402.1 MB, free: 10.38 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.000992/0.01057, allocations: 0.8477 MB / 403 MB, free: 9.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.0106, allocations: 11.97 kB / 403 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.01066, allocations: 74.72 kB / 403.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.01074, allocations: 68.52 kB / 403.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.01119, allocations: 406 kB / 403.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.01122, allocations: 33.38 kB / 403.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.01127, allocations: 40.36 kB / 403.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.01178, allocations: 0.4935 MB / 404.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.0118, allocations: 4 kB / 404.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01182, allocations: 19.98 kB / 404.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01183, allocations: 8 kB / 404.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.01223, allocations: 360 kB / 404.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.01404, allocations: 1.823 MB / 406.3 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.01434, allocations: 255.6 kB / 406.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.01449, allocations: 170.7 kB / 406.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01452, allocations: 4.234 kB / 406.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.0148, allocations: 281.7 kB / 407 MB, free: 5.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.0148, allocations: 0 / 407 MB, free: 5.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006687/0.01547, allocations: 0.6217 MB / 407.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.01551, allocations: 81.11 kB / 407.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.01592, allocations: 0.5689 MB / 408.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.01594, allocations: 29.7 kB / 408.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.01609, allocations: 292.3 kB / 408.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.01615, allocations: 119 kB / 408.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.01625, allocations: 106.1 kB / 408.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.01635, allocations: 370.8 kB / 409.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.01653, allocations: 178.8 kB / 409.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.01677, allocations: 377 kB / 409.7 MB, free: 2.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.0179, allocations: 0.9526 MB / 410.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01791, allocations: 0 / 410.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006387/0.01854, allocations: 0.6923 MB / 411.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.01858, allocations: 37.7 kB / 411.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01859, allocations: 8 kB / 411.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.0186, allocations: 8.656 kB / 411.4 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.01885, allocations: 115.8 kB / 411.5 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.01886, allocations: 11.98 kB / 411.5 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.01899, allocations: 63.55 kB / 411.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.01902, allocations: 24 kB / 411.6 MB, free: 360 kB / 330.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 62 * 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.0002232/0.01924, allocations: 267.2 kB / 411.9 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.01929, allocations: 55.61 kB / 411.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1413/0.1606, allocations: 0.5283 MB / 412.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1606, allocations: 4.547 kB / 412.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1606, allocations: 6.844 kB / 412.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1606, allocations: 2.281 kB / 412.5 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.1612, allocations: 402.4 kB / 412.9 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1612, allocations: 2 kB / 412.9 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.1616, allocations: 69.86 kB / 412.9 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1616, allocations: 2.125 kB / 412.9 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.1616, allocations: 17.55 kB / 413 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1616, allocations: 3.922 kB / 413 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1616, allocations: 0 / 413 MB, free: 28.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1627, allocations: 0.7516 MB / 413.7 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1628, allocations: 51.19 kB / 413.8 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.1629, allocations: 17.53 kB / 413.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.163, allocations: 20.05 kB / 413.8 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.1631, allocations: 23.28 kB / 413.8 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.1632, allocations: 11.64 kB / 413.8 MB, free: 28.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004534/0.1636, allocations: 388.9 kB / 414.2 MB, free: 28.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1636, allocations: 0 / 414.2 MB, free: 28.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.1641, allocations: 120.8 kB / 414.3 MB, free: 28.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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.002231/0.1664, allocations: 1.681 MB / 416 MB, free: 27.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.1671, allocations: 0.5151 MB / 416.5 MB, free: 27.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1671, allocations: 0 / 416.5 MB, free: 27.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1673, allocations: 262.3 kB / 416.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1676, allocations: 81.17 kB / 416.9 MB, free: 27.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.1721, allocations: 4.999 MB / 421.9 MB, free: 24.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1723, allocations: 285.6 kB / 422.1 MB, free: 24.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.1725, allocations: 96.81 kB / 422.2 MB, free: 24.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.1727, allocations: 186.4 kB / 422.4 MB, free: 23.91 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1727, allocations: 2.812 kB / 422.4 MB, free: 23.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1969, allocations: 11.62 MB / 434 MB, free: 19.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.593, allocations: 0 / 434 MB, free: 19.21 MB / 330.7 MB " [Timeout remaining time 652] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_tracking.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.42846258264035] Failed to read output from testmodel.py, exit status != 0: 7.69525206182152 7.701120299 7.690236768 Calling exit ...