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.001268/0.001268, allocations: 101.3 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.001367/0.001367, allocations: 219.4 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.06086/0.06086, allocations: 11.34 MB / 324.6 MB, free: 8.129 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.00186/0.00186, allocations: 63.89 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1004, allocations: 56.06 MB / 0.4959 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002778/0.1032, allocations: 1.704 MB / 0.4976 GB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1042, allocations: 0.5923 MB / 0.4982 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.1043, allocations: 7.938 kB / 0.4982 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1044, allocations: 15.81 kB / 0.4982 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.1045, allocations: 35.66 kB / 0.4982 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1048, allocations: 79.83 kB / 0.4983 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.105, allocations: 183.3 kB / 0.4985 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1052, allocations: 26.02 kB / 0.4985 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1054, allocations: 75.7 kB / 0.4986 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1055, allocations: 75.61 kB / 0.4986 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1055, allocations: 16 kB / 0.4986 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.713e-05/0.1056, allocations: 16 kB / 0.4987 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1056, allocations: 35.84 kB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.1057, allocations: 55.66 kB / 0.4987 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.106, allocations: 147.4 kB / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.106, allocations: 3.938 kB / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.106, allocations: 0 / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.106, allocations: 0 / 0.4989 GB, free: 15.12 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.001044/0.107, allocations: 451.1 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1071, allocations: 8.031 kB / 0.4993 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/0.1071, allocations: 4.188 kB / 0.4993 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.1071, allocations: 42.73 kB / 0.4994 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1073, allocations: 24.8 kB / 0.4994 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1077, allocations: 195.8 kB / 0.4996 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1078, allocations: 119.3 kB / 0.4997 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1078, allocations: 8.125 kB / 0.4997 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.1082, allocations: 137.5 kB / 0.4998 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1082, allocations: 0 / 0.4998 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1082, allocations: 4 kB / 0.4998 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1082, allocations: 4 kB / 0.4998 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1087, allocations: 123.8 kB / 0.5 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/0.1094, allocations: 371.6 kB / 0.5003 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.1099, allocations: 122.4 kB / 0.5004 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1101, allocations: 64.78 kB / 0.5005 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1102, allocations: 0 / 0.5005 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.1105, allocations: 135.2 kB / 0.5006 GB, free: 13.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1105, allocations: 0 / 0.5006 GB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008165/0.1113, allocations: 233.5 kB / 0.5008 GB, free: 12.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1114, allocations: 55.34 kB / 0.5009 GB, free: 12.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1116, allocations: 195.1 kB / 0.5011 GB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1116, allocations: 29.7 kB / 0.5011 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/0.1117, allocations: 124.2 kB / 0.5012 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1117, allocations: 20.02 kB / 0.5013 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.1118, allocations: 33.7 kB / 0.5013 GB, free: 12.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1119, allocations: 330.8 kB / 0.5016 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.1122, allocations: 89.64 kB / 0.5017 GB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.1125, allocations: 128 kB / 0.5018 GB, free: 11.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.1129, allocations: 184.8 kB / 0.502 GB, free: 11.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1129, allocations: 0 / 0.502 GB, free: 11.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006058/0.1135, allocations: 256.8 kB / 0.5022 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.1136, allocations: 37.62 kB / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1136, allocations: 4 kB / 0.5023 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1136, allocations: 384 / 0.5023 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1138, allocations: 40 kB / 0.5023 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1138, allocations: 0 / 0.5023 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.114, allocations: 31.86 kB / 0.5023 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.114, allocations: 15.92 kB / 0.5024 GB, free: 11.29 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.0001179/0.1141, allocations: 123.7 kB / 0.5025 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1141, allocations: 19.84 kB / 0.5025 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.1142, allocations: 25.33 kB / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1142, allocations: 0 / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1142, allocations: 7.938 kB / 0.5025 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1142, allocations: 0 / 0.5025 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.1144, allocations: 180.7 kB / 0.5027 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1144, allocations: 0 / 0.5027 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1145, allocations: 27.97 kB / 0.5027 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1145, allocations: 3.938 kB / 0.5027 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1146, allocations: 0 / 0.5027 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1146, allocations: 4 kB / 0.5027 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1146, allocations: 0 / 0.5027 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.1151, allocations: 204.8 kB / 0.5029 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.1151, allocations: 19.78 kB / 0.5029 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1152, allocations: 8 kB / 0.5029 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1153, allocations: 23.95 kB / 0.503 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.1154, allocations: 15.97 kB / 0.503 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1154, allocations: 4 kB / 0.503 GB, free: 10.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1155, allocations: 131.2 kB / 0.5031 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1155, allocations: 0 / 0.5031 GB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1158, allocations: 31.95 kB / 0.5031 GB, free: 10.4 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.000879/0.1166, allocations: 0.741 MB / 0.5039 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.1172, allocations: 237 kB / 0.5041 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1172, allocations: 4 kB / 0.5041 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.1175, allocations: 63.94 kB / 0.5042 GB, free: 9.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1178, allocations: 24.8 kB / 0.5042 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.1208, allocations: 2.057 MB / 0.5062 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.1209, allocations: 107.2 kB / 0.5063 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.121, allocations: 17.02 kB / 0.5063 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.1211, allocations: 43.41 kB / 0.5064 GB, free: 6.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1211, allocations: 0 / 0.5064 GB, free: 6.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1446, allocations: 3.832 MB / 0.5101 GB, free: 3.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.81, allocations: 10.5 kB / 0.5101 GB, free: 3.238 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.446070701931603] Failed to read output from testmodel.py, exit status != 0: 10.976758650038391 11.161263705 11.052784883 Calling exit ...