Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001452/0.001452, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001573/0.001573, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.08399/0.08399, allocations: 11.34 MB / 323.8 MB, free: 8.242 MB / 254.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/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.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 451 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 56.06 MB / 0.4952 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003069/0.1074, allocations: 1.807 MB / 0.497 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1085, allocations: 0.6195 MB / 0.4976 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.1086, allocations: 7.938 kB / 0.4976 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1087, allocations: 23.67 kB / 0.4976 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.1088, allocations: 39.66 kB / 0.4977 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1091, allocations: 91.81 kB / 0.4977 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1094, allocations: 211.3 kB / 0.4979 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1095, allocations: 30.02 kB / 0.498 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1096, allocations: 79.77 kB / 0.4981 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1098, allocations: 95.52 kB / 0.4981 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1098, allocations: 16 kB / 0.4982 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.322e-05/0.1098, allocations: 16 kB / 0.4982 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.1099, allocations: 39.84 kB / 0.4982 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.11, allocations: 83.53 kB / 0.4983 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1102, allocations: 167.3 kB / 0.4984 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1102, allocations: 0 / 0.4984 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1102, allocations: 0 / 0.4984 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1102, allocations: 0 / 0.4984 GB, free: 15.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00111/0.1113, allocations: 0.5146 MB / 0.499 GB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1114, allocations: 8.031 kB / 0.499 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.1114, allocations: 42.73 kB / 0.499 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.1115, allocations: 28.8 kB / 0.499 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1118, allocations: 194.1 kB / 0.4992 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.1119, allocations: 63.97 kB / 0.4993 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.1119, allocations: 16.38 kB / 0.4993 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.1124, allocations: 199.8 kB / 0.4995 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1124, allocations: 0 / 0.4995 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1125, allocations: 8 kB / 0.4995 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1125, allocations: 12 kB / 0.4995 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.113, allocations: 151.8 kB / 0.4996 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009584/0.114, allocations: 0.609 MB / 0.5002 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.1146, allocations: 158.4 kB / 0.5004 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.1149, allocations: 80.78 kB / 0.5005 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1149, allocations: 0 / 0.5005 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.1154, allocations: 171.3 kB / 0.5006 GB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1154, allocations: 4 kB / 0.5006 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009976/0.1164, allocations: 293.4 kB / 0.5009 GB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1164, allocations: 51.41 kB / 0.501 GB, free: 12.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1166, allocations: 207.8 kB / 0.5012 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1166, allocations: 25.7 kB / 0.5012 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1167, allocations: 144.2 kB / 0.5013 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1168, allocations: 35.73 kB / 0.5014 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.1169, allocations: 45.7 kB / 0.5014 GB, free: 11.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.117, allocations: 330.8 kB / 0.5017 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1173, allocations: 95.86 kB / 0.5018 GB, free: 11.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.1177, allocations: 140.1 kB / 0.5019 GB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.1183, allocations: 269.2 kB / 0.5022 GB, free: 10.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1183, allocations: 4 kB / 0.5022 GB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008247/0.1192, allocations: 348.9 kB / 0.5025 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.1192, allocations: 59.41 kB / 0.5026 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1192, allocations: 4 kB / 0.5026 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1193, allocations: 7.938 kB / 0.5026 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.1196, allocations: 60.12 kB / 0.5027 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1197, allocations: 4 kB / 0.5027 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.1199, allocations: 47.78 kB / 0.5027 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1199, allocations: 12 kB / 0.5027 GB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001322/0.1201, allocations: 130.4 kB / 0.5028 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.1201, allocations: 23.83 kB / 0.5029 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1202, allocations: 21.47 kB / 0.5029 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1202, allocations: 0 / 0.5029 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1202, allocations: 0 / 0.5029 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1202, allocations: 3.984 kB / 0.5029 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1204, allocations: 216.6 kB / 0.5031 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1204, allocations: 3.938 kB / 0.5031 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.1208, allocations: 51.89 kB / 0.5032 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1209, allocations: 4 kB / 0.5032 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1209, allocations: 7.984 kB / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1209, allocations: 0 / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1209, allocations: 0 / 0.5032 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1219, allocations: 343.8 kB / 0.5035 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.122, allocations: 19.81 kB / 0.5035 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.122, allocations: 7.922 kB / 0.5035 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.1222, allocations: 44.02 kB / 0.5036 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.1223, allocations: 23.95 kB / 0.5036 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1223, allocations: 8 kB / 0.5036 GB, free: 9.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1225, allocations: 141.5 kB / 0.5037 GB, free: 9.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1225, allocations: 3.938 kB / 0.5037 GB, free: 9.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1227, allocations: 39.95 kB / 0.5038 GB, free: 9.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00129/0.124, allocations: 0.8699 MB / 0.5046 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.1248, allocations: 322.6 kB / 0.5049 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1248, allocations: 0 / 0.5049 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1251, allocations: 96.23 kB / 0.505 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1254, allocations: 31.91 kB / 0.505 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.1292, allocations: 2.32 MB / 0.5073 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1296, allocations: 0.7279 MB / 0.508 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1297, allocations: 17.48 kB / 0.508 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1298, allocations: 51.42 kB / 0.5081 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1298, allocations: 4 kB / 0.5081 GB, free: 4.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.1613, allocations: 4.586 MB / 0.5126 GB, free: 116 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.23, allocations: 10.61 kB / 0.5126 GB, free: 108 kB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.202715815001284] Failed to read output from testmodel.py, exit status != 0: 11.606739768001717 11.619219955 11.50613297 Calling exit ...