Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.0009285/0.0009285, allocations: 80.44 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.001502/0.001502, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9138/0.9138, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03696/0.03696, allocations: 8.611 MB / 267.8 MB, free: 5.125 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.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 395.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.049e-05, allocations: 2.281 kB / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.002777/0.002797, allocations: 2.35 MB / 397.4 MB, free: 312 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.004677, allocations: 1.61 MB / 399 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.004885, allocations: 19.81 kB / 399.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.005495, allocations: 233.7 kB / 399.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.005865, allocations: 214.9 kB / 399.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.006618, allocations: 454.7 kB / 399.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.00712, allocations: 0.5818 MB / 400.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.007264, allocations: 69.16 kB / 400.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.007524, allocations: 283.3 kB / 400.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.007764, allocations: 219.4 kB / 401.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.007805, allocations: 32 kB / 401.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.008021, allocations: 151.8 kB / 401.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.008144, allocations: 155.4 kB / 401.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.008249, allocations: 123.6 kB / 401.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.008805, allocations: 0.5723 MB / 402.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.00881, allocations: 0 / 402.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.008811, allocations: 0 / 402.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.008818, allocations: 0 / 402.1 MB, free: 11.61 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.001119/0.009937, allocations: 0.828 MB / 402.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.009978, allocations: 8.031 kB / 402.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.01004, allocations: 70.72 kB / 403 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/0.01012, allocations: 72.5 kB / 403.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.01058, allocations: 390.1 kB / 403.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.01064, allocations: 76.62 kB / 403.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.01069, allocations: 40.33 kB / 403.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.01118, allocations: 491.1 kB / 404.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01119, allocations: 0 / 404.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.01122, allocations: 16 kB / 404.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01123, allocations: 8 kB / 404.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.01159, allocations: 324 kB / 404.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.01313, allocations: 1.748 MB / 406.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.01348, allocations: 220.1 kB / 406.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.01363, allocations: 158.6 kB / 406.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.01365, allocations: 0 / 406.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.01393, allocations: 255.4 kB / 406.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.023e-06/0.01393, allocations: 0 / 406.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006595/0.01459, allocations: 0.5517 MB / 407.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.01463, allocations: 85.11 kB / 407.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.01505, allocations: 0.5331 MB / 407.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01507, allocations: 29.7 kB / 408 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.01522, allocations: 280.3 kB / 408.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.01528, allocations: 99.2 kB / 408.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.01537, allocations: 94 kB / 408.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01549, allocations: 362.8 kB / 408.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.01566, allocations: 158.5 kB / 408.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.01589, allocations: 325.3 kB / 409.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.01692, allocations: 0.8173 MB / 410.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01693, allocations: 4 kB / 410.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005981/0.01752, allocations: 0.5865 MB / 410.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.01756, allocations: 41.69 kB / 410.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01757, allocations: 4 kB / 410.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01759, allocations: 8 kB / 410.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.01788, allocations: 99.88 kB / 410.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.01789, allocations: 11.94 kB / 410.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.01803, allocations: 47.66 kB / 410.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.01805, allocations: 24 kB / 410.9 MB, free: 2.273 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 (51): * Single equations (assignments): 50 * 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.0002345/0.01828, allocations: 262.5 kB / 411.1 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.01833, allocations: 55.61 kB / 411.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.01884, allocations: 486 kB / 411.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01885, allocations: 7.984 kB / 411.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01885, allocations: 0 / 411.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01886, allocations: 0 / 411.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.01916, allocations: 388.4 kB / 412.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01916, allocations: 3.984 kB / 412.1 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.01945, allocations: 63.89 kB / 412.1 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01946, allocations: 4 kB / 412.1 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.01948, allocations: 8 kB / 412.1 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01948, allocations: 4 kB / 412.1 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01948, allocations: 0 / 412.1 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.02011, allocations: 0.6857 MB / 412.8 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.02017, allocations: 51.59 kB / 412.9 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.02021, allocations: 12 kB / 412.9 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.02029, allocations: 19.92 kB / 412.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.02035, allocations: 23.98 kB / 412.9 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.02037, allocations: 19.91 kB / 413 MB, free: 92 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.02066, allocations: 362.9 kB / 413.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02066, allocations: 4 kB / 413.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.02097, allocations: 127.6 kB / 413.4 MB, free: 15.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (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.001548/0.02251, allocations: 1.585 MB / 415 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.02303, allocations: 458.8 kB / 415.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02303, allocations: 0 / 415.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.02322, allocations: 244.8 kB / 415.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.02354, allocations: 87.34 kB / 415.8 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.02733, allocations: 4.583 MB / 420.4 MB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.0275, allocations: 263.7 kB / 420.6 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.02766, allocations: 75.3 kB / 420.7 MB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.02782, allocations: 172.4 kB / 420.9 MB, free: 8.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02782, allocations: 0 / 420.9 MB, free: 8.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.05092, allocations: 10.79 MB / 431.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.23, allocations: 7.25 kB / 431.7 MB, free: 13.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.27109745517373] Failed to read output from testmodel.py, exit status != 0: 7.334761221893132 7.494902776 7.337793915 Calling exit ...