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.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.001048/0.001048, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001275/0.001275, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8706/0.8706, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.03598/0.03598, allocations: 8.601 MB / 267.8 MB, free: 5.121 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.TestP_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_tracking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.662e-05, allocations: 10.16 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.002673/0.002689, allocations: 2.351 MB / 397.4 MB, free: 292 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.004578, allocations: 1.509 MB / 398.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.004749, allocations: 15.81 kB / 399 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.005311, allocations: 242.7 kB / 399.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.005629, allocations: 214.9 kB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.006209, allocations: 410.8 kB / 399.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.006628, allocations: 0.5506 MB / 400.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.006756, allocations: 57.23 kB / 400.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.00698, allocations: 275.2 kB / 400.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.00717, allocations: 199.4 kB / 400.9 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.007212, allocations: 32 kB / 400.9 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.007393, allocations: 155.8 kB / 401.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.007498, allocations: 135.5 kB / 401.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.007593, allocations: 123.5 kB / 401.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.008052, allocations: 0.5567 MB / 401.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.008054, allocations: 4 kB / 401.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008054, allocations: 0 / 401.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.008061, allocations: 0 / 401.9 MB, free: 11.82 MB / 378.7 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.000858/0.008919, allocations: 0.8085 MB / 402.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.008952, allocations: 8.031 kB / 402.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.009005, allocations: 74.72 kB / 402.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.009074, allocations: 72.5 kB / 402.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.009478, allocations: 378.2 kB / 403.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.0095, allocations: 33.02 kB / 403.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.00954, allocations: 40.33 kB / 403.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.009987, allocations: 459.4 kB / 403.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01, allocations: 8 kB / 403.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.01003, allocations: 12 kB / 403.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.01003, allocations: 11.98 kB / 403.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.01036, allocations: 312 kB / 404.1 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.01189, allocations: 1.674 MB / 405.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.01223, allocations: 224.5 kB / 405.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01236, allocations: 146.4 kB / 406.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01238, allocations: 7.922 kB / 406.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.01262, allocations: 244.3 kB / 406.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.01262, allocations: 0 / 406.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005789/0.0132, allocations: 0.5399 MB / 406.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.01324, allocations: 85.05 kB / 407 MB, free: 6.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.01362, allocations: 0.537 MB / 407.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01364, allocations: 33.7 kB / 407.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01379, allocations: 272.3 kB / 407.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.01384, allocations: 107.2 kB / 407.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01392, allocations: 93.58 kB / 408 MB, free: 5.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.01402, allocations: 362.7 kB / 408.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.01418, allocations: 154.1 kB / 408.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.01439, allocations: 324.3 kB / 408.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.01532, allocations: 0.7862 MB / 409.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01532, allocations: 7.938 kB / 409.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005216/0.01584, allocations: 0.567 MB / 410.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.01587, allocations: 48.75 kB / 410.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01588, allocations: 7.938 kB / 410.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01589, allocations: 11.98 kB / 410.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01606, allocations: 79.89 kB / 410.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01607, allocations: 11.94 kB / 410.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01619, allocations: 59.55 kB / 410.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.0162, allocations: 20 kB / 410.4 MB, free: 2.75 MB / 378.7 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.0001974/0.0164, allocations: 250.6 kB / 410.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.01644, allocations: 51.67 kB / 410.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.01692, allocations: 482.1 kB / 411.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01692, allocations: 4 kB / 411.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01692, allocations: 4 kB / 411.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01693, allocations: 0 / 411.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.0172, allocations: 376.3 kB / 411.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0172, allocations: 4 kB / 411.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.01734, allocations: 55.89 kB / 411.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01734, allocations: 0 / 411.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.01736, allocations: 12 kB / 411.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.01736, allocations: 4 kB / 411.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01736, allocations: 0 / 411.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.01797, allocations: 0.6706 MB / 412.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.01801, allocations: 51.67 kB / 412.3 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.01805, allocations: 11.98 kB / 412.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.01812, allocations: 15.98 kB / 412.4 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.01817, allocations: 19.97 kB / 412.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.01819, allocations: 15.92 kB / 412.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004967/0.01869, allocations: 370.7 kB / 412.8 MB, free: 280 kB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01869, allocations: 3.938 kB / 412.8 MB, free: 276 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.01896, allocations: 119.7 kB / 412.9 MB, free: 156 kB / 378.7 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.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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.001444/0.0204, allocations: 1.601 MB / 414.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.02087, allocations: 443.4 kB / 414.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02087, allocations: 256 / 414.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02107, allocations: 228.9 kB / 415.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.02134, allocations: 80.22 kB / 415.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.02521, allocations: 4.5 MB / 419.7 MB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.02536, allocations: 263.7 kB / 420 MB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.0255, allocations: 71.31 kB / 420.1 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02565, allocations: 180.4 kB / 420.2 MB, free: 8.648 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02565, allocations: 4 kB / 420.2 MB, free: 8.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.04939, allocations: 10.63 MB / 430.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.307, allocations: 13.62 kB / 430.9 MB, free: 14.09 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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_TestP_tracking.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.329666141420603] Failed to read output from testmodel.py, exit status != 0: 7.409619207493961 7.5790104750000005 7.408736605 Calling exit ...