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.001354/0.001354, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001413/0.001413, allocations: 212.7 kB / 22.24 MB, free: 4.855 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.801 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.06357/0.06357, allocations: 11.34 MB / 323.8 MB, free: 8.117 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.002406/0.002406, allocations: 71.89 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.11, allocations: 56.07 MB / 0.4952 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003495/0.1135, allocations: 1.723 MB / 0.4968 GB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1148, allocations: 0.5922 MB / 0.4974 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1149, allocations: 11.94 kB / 0.4974 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1151, allocations: 19.73 kB / 0.4974 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1152, allocations: 35.66 kB / 0.4975 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1155, allocations: 91.81 kB / 0.4976 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1158, allocations: 199.4 kB / 0.4978 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1159, allocations: 34 kB / 0.4978 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1161, allocations: 87.64 kB / 0.4979 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1162, allocations: 79.59 kB / 0.4979 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.1163, allocations: 16 kB / 0.498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.1163, allocations: 16 kB / 0.498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1164, allocations: 43.77 kB / 0.498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.1165, allocations: 71.59 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1167, allocations: 167.3 kB / 0.4982 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1167, allocations: 0 / 0.4982 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1167, allocations: 4 kB / 0.4983 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1167, allocations: 0 / 0.4983 GB, free: 14.96 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.001117/0.1178, allocations: 0.5047 MB / 0.4987 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1179, allocations: 12.02 kB / 0.4988 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.1179, allocations: 42.75 kB / 0.4988 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.118, allocations: 24.8 kB / 0.4988 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1184, allocations: 202.1 kB / 0.499 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.1185, allocations: 67.95 kB / 0.4991 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1185, allocations: 12.38 kB / 0.4991 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.119, allocations: 188 kB / 0.4993 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.119, allocations: 7.922 kB / 0.4993 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1191, allocations: 8 kB / 0.4993 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1191, allocations: 0 / 0.4993 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.1196, allocations: 152.7 kB / 0.4994 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009725/0.1206, allocations: 0.5816 MB / 0.5 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.1212, allocations: 158.4 kB / 0.5001 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1215, allocations: 80.78 kB / 0.5002 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1215, allocations: 3.984 kB / 0.5002 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.122, allocations: 159.2 kB / 0.5004 GB, free: 12.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.122, allocations: 0 / 0.5004 GB, free: 12.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.123, allocations: 304.5 kB / 0.5007 GB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1231, allocations: 55.41 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1233, allocations: 203.8 kB / 0.5009 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1233, allocations: 29.7 kB / 0.5009 GB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1234, allocations: 144.2 kB / 0.5011 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.1235, allocations: 35.73 kB / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.1236, allocations: 57.64 kB / 0.5012 GB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1237, allocations: 326.8 kB / 0.5015 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.1241, allocations: 147.2 kB / 0.5016 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.1244, allocations: 197.3 kB / 0.5018 GB, free: 11.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.1251, allocations: 269.1 kB / 0.5021 GB, free: 10.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1251, allocations: 8 kB / 0.5021 GB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008709/0.126, allocations: 394.2 kB / 0.5025 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.1261, allocations: 67.58 kB / 0.5025 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1261, allocations: 11.94 kB / 0.5025 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1261, allocations: 0 / 0.5025 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.1265, allocations: 59.89 kB / 0.5026 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1265, allocations: 0 / 0.5026 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.1268, allocations: 47.84 kB / 0.5026 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1268, allocations: 8 kB / 0.5026 GB, free: 10.11 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.0001373/0.1269, allocations: 137.8 kB / 0.5028 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.127, allocations: 23.78 kB / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.127, allocations: 21.45 kB / 0.5028 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.127, allocations: 4 kB / 0.5028 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.127, allocations: 0 / 0.5028 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.127, allocations: 0 / 0.5028 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1273, allocations: 200.6 kB / 0.503 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1273, allocations: 11.92 kB / 0.503 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1277, allocations: 47.95 kB / 0.5031 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1277, allocations: 0 / 0.5031 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1277, allocations: 4 kB / 0.5031 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1277, allocations: 0 / 0.5031 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1277, allocations: 3.938 kB / 0.5031 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1287, allocations: 344.8 kB / 0.5034 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.1288, allocations: 23.83 kB / 0.5034 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1288, allocations: 4 kB / 0.5034 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.129, allocations: 31.95 kB / 0.5035 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.1291, allocations: 28.02 kB / 0.5035 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1291, allocations: 11.98 kB / 0.5035 GB, free: 9.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1292, allocations: 141.5 kB / 0.5036 GB, free: 9.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1292, allocations: 4 kB / 0.5036 GB, free: 9.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1295, allocations: 32 kB / 0.5037 GB, free: 8.98 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.001345/0.1308, allocations: 0.8877 MB / 0.5045 GB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.1316, allocations: 378.2 kB / 0.5049 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1316, allocations: 0 / 0.5049 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.132, allocations: 87.92 kB / 0.505 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1322, allocations: 33.89 kB / 0.505 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.1361, allocations: 2.542 MB / 0.5075 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1362, allocations: 120.1 kB / 0.5076 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1363, allocations: 21.47 kB / 0.5076 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1364, allocations: 47.42 kB / 0.5077 GB, free: 4.621 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1364, allocations: 0 / 0.5077 GB, free: 4.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/0.363, allocations: 5.12 MB / 0.5127 GB, free: 23.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.1, allocations: 7.422 kB / 0.5127 GB, free: 23.91 MB / 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.567380416672677] Failed to read output from testmodel.py, exit status != 0: 11.201826319098473 11.216067889 11.096521171 Calling exit ...