Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001243/0.001243, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001442/0.001442, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06096/0.06096, allocations: 11.34 MB / 324.6 MB, free: 8.051 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.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",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.001942/0.001942, allocations: 67.91 kB / 451.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 56.07 MB / 0.4959 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003243/0.1121, allocations: 1.762 MB / 0.4976 GB, free: 408 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1133, allocations: 0.6195 MB / 0.4982 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.1135, allocations: 15.81 kB / 0.4983 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1136, allocations: 19.73 kB / 0.4983 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.1137, allocations: 35.66 kB / 0.4983 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1141, allocations: 111.8 kB / 0.4984 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1144, allocations: 231.3 kB / 0.4986 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1146, allocations: 37.08 kB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1147, allocations: 103.6 kB / 0.4988 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1149, allocations: 95.53 kB / 0.4989 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.1149, allocations: 16 kB / 0.4989 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.388e-05/0.115, allocations: 16 kB / 0.4989 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.115, allocations: 47.83 kB / 0.4989 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.1151, allocations: 71.59 kB / 0.499 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1154, allocations: 199 kB / 0.4992 GB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1154, allocations: 4 kB / 0.4992 GB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1154, allocations: 3.938 kB / 0.4992 GB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1154, allocations: 0 / 0.4992 GB, free: 14.78 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001119/0.1165, allocations: 0.5068 MB / 0.4997 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1166, allocations: 12.03 kB / 0.4997 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.1166, allocations: 8.422 kB / 0.4997 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.1167, allocations: 46.73 kB / 0.4998 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.1167, allocations: 24.8 kB / 0.4998 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.1172, allocations: 233.8 kB / 0.5 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/0.1173, allocations: 97.67 kB / 0.5001 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.1173, allocations: 20.08 kB / 0.5001 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1178, allocations: 174.1 kB / 0.5003 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1178, allocations: 0 / 0.5003 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1178, allocations: 8 kB / 0.5003 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1178, allocations: 7.938 kB / 0.5003 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.1183, allocations: 159.8 kB / 0.5005 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1194, allocations: 0.4915 MB / 0.5009 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1199, allocations: 138.6 kB / 0.5011 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1202, allocations: 76.73 kB / 0.5011 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1202, allocations: 4 kB / 0.5011 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.1206, allocations: 143.3 kB / 0.5013 GB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.1206, allocations: 0 / 0.5013 GB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008938/0.1215, allocations: 277.2 kB / 0.5015 GB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1215, allocations: 59.41 kB / 0.5016 GB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1217, allocations: 207.1 kB / 0.5018 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1218, allocations: 29.7 kB / 0.5018 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1219, allocations: 144.3 kB / 0.502 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.1219, allocations: 43.69 kB / 0.502 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.122, allocations: 41.66 kB / 0.5021 GB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1221, allocations: 338.8 kB / 0.5024 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.1224, allocations: 105.6 kB / 0.5025 GB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1227, allocations: 137.1 kB / 0.5026 GB, free: 11.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.1232, allocations: 203.6 kB / 0.5028 GB, free: 10.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1232, allocations: 7.938 kB / 0.5028 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006839/0.1239, allocations: 296.7 kB / 0.5031 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.124, allocations: 29.7 kB / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.124, allocations: 0 / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.124, allocations: 4 kB / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.1247, allocations: 79.97 kB / 0.5032 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1247, allocations: 4 kB / 0.5032 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1249, allocations: 31.92 kB / 0.5032 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1249, allocations: 7.938 kB / 0.5032 GB, free: 10.37 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,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001368/0.125, allocations: 141.6 kB / 0.5034 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1251, allocations: 23.84 kB / 0.5034 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.1251, allocations: 25.41 kB / 0.5034 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1251, allocations: 0 / 0.5034 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1251, allocations: 0 / 0.5034 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1251, allocations: 7.969 kB / 0.5034 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1254, allocations: 224.5 kB / 0.5036 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1254, allocations: 0 / 0.5036 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.1262, allocations: 75.94 kB / 0.5037 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1262, allocations: 0 / 0.5037 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1262, allocations: 3.984 kB / 0.5037 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1262, allocations: 0 / 0.5037 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1262, allocations: 4 kB / 0.5037 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.1271, allocations: 325 kB / 0.504 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1271, allocations: 11.91 kB / 0.504 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1271, allocations: 4 kB / 0.504 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1273, allocations: 32 kB / 0.5041 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.1274, allocations: 23.97 kB / 0.5041 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1274, allocations: 0 / 0.5041 GB, free: 9.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1275, allocations: 148.6 kB / 0.5042 GB, free: 9.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1275, allocations: 0 / 0.5042 GB, free: 9.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1278, allocations: 43.88 kB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.001165/0.1289, allocations: 0.8541 MB / 0.5051 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.1296, allocations: 263.2 kB / 0.5054 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1296, allocations: 0 / 0.5054 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.1299, allocations: 88.06 kB / 0.5055 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1301, allocations: 20.66 kB / 0.5055 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.1335, allocations: 2.343 MB / 0.5078 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1336, allocations: 125.2 kB / 0.5079 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.1337, allocations: 21.47 kB / 0.5079 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1339, allocations: 67.36 kB / 0.508 GB, free: 5.258 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1339, allocations: 0 / 0.508 GB, free: 5.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1586, allocations: 4.444 MB / 0.5123 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.93, allocations: 19.8 kB / 0.5123 GB, free: 0.9648 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.578252036008053] Failed to read output from testmodel.py, exit status != 0: 11.250549981021322 11.262148458 11.14426416 Calling exit ...