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.001194/0.001194, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00137/0.00137, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8 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.06139/0.06139, allocations: 11.35 MB / 324.6 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="cs",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.001875/0.001875, allocations: 59.91 kB / 451.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1025, allocations: 56.07 MB / 0.496 GB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002904/0.1054, allocations: 1.789 MB / 0.4977 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1065, allocations: 0.6312 MB / 0.4984 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1066, allocations: 11.88 kB / 0.4984 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1067, allocations: 19.8 kB / 0.4984 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.1068, allocations: 35.66 kB / 0.4984 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1071, allocations: 95.75 kB / 0.4985 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1073, allocations: 207.3 kB / 0.4987 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1074, allocations: 34 kB / 0.4988 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1076, allocations: 83.7 kB / 0.4988 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1077, allocations: 87.59 kB / 0.4989 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1077, allocations: 20 kB / 0.4989 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.1078, allocations: 16 kB / 0.4989 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1078, allocations: 39.83 kB / 0.499 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1079, allocations: 83.53 kB / 0.4991 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1081, allocations: 167.3 kB / 0.4992 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1081, allocations: 0 / 0.4992 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1081, allocations: 0 / 0.4992 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1082, allocations: 0 / 0.4992 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.001095/0.1092, allocations: 0.5085 MB / 0.4997 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1093, allocations: 8.031 kB / 0.4997 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.1093, allocations: 4.188 kB / 0.4997 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1093, allocations: 42.73 kB / 0.4998 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.1094, allocations: 20.8 kB / 0.4998 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1098, allocations: 202.1 kB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.1099, allocations: 71.89 kB / 0.5001 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1099, allocations: 24.05 kB / 0.5001 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.1104, allocations: 196 kB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1104, allocations: 0 / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1105, allocations: 7.984 kB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1105, allocations: 4 kB / 0.5003 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1111, allocations: 157.4 kB / 0.5004 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1121, allocations: 0.6012 MB / 0.501 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.1127, allocations: 158.4 kB / 0.5012 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.113, allocations: 80.72 kB / 0.5012 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1131, allocations: 7.938 kB / 0.5013 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.1135, allocations: 159.4 kB / 0.5014 GB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1135, allocations: 0 / 0.5014 GB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001086/0.1146, allocations: 300.3 kB / 0.5017 GB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1147, allocations: 55.41 kB / 0.5017 GB, free: 12.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1149, allocations: 199.8 kB / 0.5019 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1149, allocations: 37.7 kB / 0.502 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.115, allocations: 136.2 kB / 0.5021 GB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.1151, allocations: 47.66 kB / 0.5021 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.1152, allocations: 45.69 kB / 0.5022 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1153, allocations: 326.8 kB / 0.5025 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.1156, allocations: 91.91 kB / 0.5026 GB, free: 11.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.116, allocations: 137.9 kB / 0.5027 GB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.1167, allocations: 265.2 kB / 0.503 GB, free: 10.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1167, allocations: 0 / 0.503 GB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008627/0.1175, allocations: 350.6 kB / 0.5033 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.1176, allocations: 71.38 kB / 0.5034 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1176, allocations: 4 kB / 0.5034 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1176, allocations: 0 / 0.5034 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.118, allocations: 59.89 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.118, allocations: 3.984 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.1183, allocations: 51.84 kB / 0.5035 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1184, allocations: 8 kB / 0.5035 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.0001289/0.1185, allocations: 130.3 kB / 0.5036 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1185, allocations: 19.84 kB / 0.5036 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.1186, allocations: 21.45 kB / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1186, allocations: 4 kB / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1186, allocations: 0 / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1186, allocations: 0 / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1188, allocations: 228.5 kB / 0.5039 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1188, allocations: 4 kB / 0.5039 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.1193, allocations: 47.95 kB / 0.5039 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1193, allocations: 0 / 0.5039 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1193, allocations: 4 kB / 0.5039 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1193, allocations: 0 / 0.5039 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1193, allocations: 0 / 0.5039 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1203, allocations: 348.7 kB / 0.5043 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.1204, allocations: 23.88 kB / 0.5043 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1204, allocations: 4.062 kB / 0.5043 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1206, allocations: 39.94 kB / 0.5043 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.1207, allocations: 23.91 kB / 0.5044 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1207, allocations: 7.984 kB / 0.5044 GB, free: 9.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1208, allocations: 145.5 kB / 0.5045 GB, free: 9.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1208, allocations: 0 / 0.5045 GB, free: 9.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1211, allocations: 39.95 kB / 0.5045 GB, free: 9.199 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.001368/0.1225, allocations: 0.8816 MB / 0.5054 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008027/0.1233, allocations: 310.9 kB / 0.5057 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1233, allocations: 0 / 0.5057 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1236, allocations: 99.09 kB / 0.5058 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1239, allocations: 26.17 kB / 0.5058 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.1276, allocations: 2.316 MB / 0.5081 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1279, allocations: 0.728 MB / 0.5088 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.128, allocations: 17.48 kB / 0.5088 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1281, allocations: 55.41 kB / 0.5089 GB, free: 4.562 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1281, allocations: 4 kB / 0.5089 GB, free: 4.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1532, allocations: 4.619 MB / 0.5134 GB, free: 104 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.71, allocations: 8.062 kB / 0.5134 GB, free: 96 kB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 13.452850969042629] Failed to read output from testmodel.py, exit status != 0: 11.075695751933381 11.086489721 10.975892647 Calling exit ...