Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.001439/0.001439, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001351/0.001351, allocations: 217 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.06187/0.06187, allocations: 11.35 MB / 324.6 MB, free: 8.223 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.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",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.001878/0.001878, allocations: 59.91 kB / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 56.07 MB / 0.496 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002916/0.1125, allocations: 1.758 MB / 0.4977 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1136, allocations: 0.635 MB / 0.4983 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.1137, allocations: 7.938 kB / 0.4983 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.1138, allocations: 15.8 kB / 0.4984 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.1138, allocations: 39.66 kB / 0.4984 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1141, allocations: 75.84 kB / 0.4985 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1144, allocations: 175.5 kB / 0.4986 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1145, allocations: 29.95 kB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1146, allocations: 79.69 kB / 0.4987 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1148, allocations: 75.61 kB / 0.4988 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1148, allocations: 15.94 kB / 0.4988 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.1148, allocations: 16 kB / 0.4988 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.1149, allocations: 35.86 kB / 0.4989 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.1149, allocations: 67.59 kB / 0.4989 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1152, allocations: 147.4 kB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1152, allocations: 3.938 kB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1152, allocations: 0 / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1152, allocations: 0 / 0.4991 GB, free: 15.14 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009278/0.1161, allocations: 451.1 kB / 0.4995 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1161, allocations: 8.031 kB / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.214e-05/0.1161, allocations: 4.188 kB / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.1162, allocations: 46.73 kB / 0.4996 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1163, allocations: 28.78 kB / 0.4996 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.1166, allocations: 187.8 kB / 0.4998 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/0.1167, allocations: 115.4 kB / 0.4999 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1168, allocations: 16.12 kB / 0.4999 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1171, allocations: 133.5 kB / 0.5 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1172, allocations: 0 / 0.5 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1172, allocations: 0 / 0.5 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1172, allocations: 4 kB / 0.5 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.1177, allocations: 127.8 kB / 0.5002 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.1184, allocations: 395.5 kB / 0.5005 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1188, allocations: 122.5 kB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.1191, allocations: 56.81 kB / 0.5007 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1191, allocations: 7.984 kB / 0.5007 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.1195, allocations: 131.2 kB / 0.5008 GB, free: 13.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1195, allocations: 0 / 0.5008 GB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000833/0.1203, allocations: 241.8 kB / 0.5011 GB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1203, allocations: 51.41 kB / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1205, allocations: 187.2 kB / 0.5013 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1205, allocations: 33.64 kB / 0.5013 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.1206, allocations: 128.4 kB / 0.5014 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1207, allocations: 23.84 kB / 0.5015 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1207, allocations: 37.7 kB / 0.5015 GB, free: 12.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1209, allocations: 326.8 kB / 0.5018 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.1211, allocations: 59.94 kB / 0.5019 GB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.1214, allocations: 99.36 kB / 0.502 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.1218, allocations: 180.9 kB / 0.5021 GB, free: 11.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1218, allocations: 0 / 0.5021 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005988/0.1224, allocations: 223.1 kB / 0.5024 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.1225, allocations: 41.62 kB / 0.5024 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1225, allocations: 0 / 0.5024 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1225, allocations: 8.031 kB / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1227, allocations: 35.97 kB / 0.5024 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1227, allocations: 0 / 0.5024 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1229, allocations: 31.86 kB / 0.5025 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1229, allocations: 7.984 kB / 0.5025 GB, free: 11.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001099/0.123, allocations: 129.7 kB / 0.5026 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.123, allocations: 23.84 kB / 0.5026 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.1231, allocations: 25.33 kB / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1231, allocations: 0 / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1231, allocations: 0 / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1231, allocations: 4 kB / 0.5027 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1233, allocations: 196.6 kB / 0.5028 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1233, allocations: 0 / 0.5028 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1234, allocations: 19.97 kB / 0.5029 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1234, allocations: 3.938 kB / 0.5029 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1235, allocations: 8 kB / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1235, allocations: 4 kB / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1235, allocations: 0 / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.124, allocations: 200.8 kB / 0.5031 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.1241, allocations: 19.78 kB / 0.5031 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1241, allocations: 8 kB / 0.5031 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1243, allocations: 27.95 kB / 0.5031 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1243, allocations: 16.06 kB / 0.5031 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1243, allocations: 11.92 kB / 0.5031 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1244, allocations: 127.2 kB / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1244, allocations: 0 / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1247, allocations: 31.95 kB / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008895/0.1256, allocations: 0.7449 MB / 0.504 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005899/0.1261, allocations: 203.2 kB / 0.5042 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1261, allocations: 0 / 0.5042 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.1264, allocations: 67.94 kB / 0.5043 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1266, allocations: 24.73 kB / 0.5043 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.1298, allocations: 1.943 MB / 0.5062 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1301, allocations: 0.7162 MB / 0.5069 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1302, allocations: 21.02 kB / 0.5069 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.1303, allocations: 47.7 kB / 0.507 GB, free: 6.543 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1303, allocations: 0 / 0.507 GB, free: 6.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1544, allocations: 3.71 MB / 0.5106 GB, free: 2.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.6, allocations: 16.5 kB / 0.5106 GB, free: 2.98 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.31823323504068] Failed to read output from testmodel.py, exit status != 0: 10.755071096937172 10.944633114 10.82686225 Calling exit ...