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.001183/0.001183, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001322/0.001322, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.05983/0.05983, allocations: 11.34 MB / 320.9 MB, free: 14.1 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.001857/0.001857, allocations: 66.41 kB / 446.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1014, allocations: 56.01 MB / 0.4908 GB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002604/0.104, allocations: 1.751 MB / 0.4925 GB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1051, allocations: 0.635 MB / 0.4931 GB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1052, allocations: 7.938 kB / 0.4931 GB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.1053, allocations: 15.8 kB / 0.4931 GB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.1054, allocations: 35.66 kB / 0.4932 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1058, allocations: 71.84 kB / 0.4932 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.106, allocations: 187.4 kB / 0.4934 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1061, allocations: 29.75 kB / 0.4934 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1062, allocations: 75.7 kB / 0.4935 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.1063, allocations: 71.69 kB / 0.4936 GB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1063, allocations: 12 kB / 0.4936 GB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.77e-05/0.1064, allocations: 19.98 kB / 0.4936 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1064, allocations: 35.78 kB / 0.4936 GB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.1065, allocations: 63.59 kB / 0.4937 GB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1067, allocations: 151.4 kB / 0.4938 GB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1067, allocations: 0 / 0.4938 GB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1067, allocations: 0 / 0.4938 GB, free: 280 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1067, allocations: 0 / 0.4938 GB, free: 280 kB / 350.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.0009286/0.1076, allocations: 0.512 MB / 0.4943 GB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1076, allocations: 8.031 kB / 0.4943 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.459e-05/0.1077, allocations: 4.188 kB / 0.4943 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1077, allocations: 38.75 kB / 0.4944 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1079, allocations: 32.78 kB / 0.4944 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1082, allocations: 256.7 kB / 0.4947 GB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/0.1083, allocations: 63.97 kB / 0.4947 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1083, allocations: 12.12 kB / 0.4947 GB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1087, allocations: 137.5 kB / 0.4949 GB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1087, allocations: 0 / 0.4949 GB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1088, allocations: 7.984 kB / 0.4949 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1088, allocations: 0 / 0.4949 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.1093, allocations: 130.6 kB / 0.495 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.11, allocations: 420.5 kB / 0.4954 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.1105, allocations: 130.4 kB / 0.4955 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.1108, allocations: 64.78 kB / 0.4956 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1108, allocations: 0 / 0.4956 GB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.1112, allocations: 131.2 kB / 0.4957 GB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.1112, allocations: 4 kB / 0.4957 GB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008656/0.112, allocations: 229.5 kB / 0.4959 GB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1121, allocations: 59.34 kB / 0.496 GB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1123, allocations: 186.3 kB / 0.4962 GB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.1123, allocations: 37.69 kB / 0.4962 GB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.1124, allocations: 120.3 kB / 0.4963 GB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1124, allocations: 23.8 kB / 0.4963 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.1125, allocations: 37.64 kB / 0.4964 GB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1126, allocations: 326.8 kB / 0.4967 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.1129, allocations: 67.94 kB / 0.4968 GB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.1132, allocations: 89.34 kB / 0.4968 GB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.1137, allocations: 173 kB / 0.497 GB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1137, allocations: 0 / 0.497 GB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00063/0.1143, allocations: 235.1 kB / 0.4972 GB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.1143, allocations: 37.64 kB / 0.4973 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1143, allocations: 384 / 0.4973 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1144, allocations: 0 / 0.4973 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1146, allocations: 35.89 kB / 0.4973 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1146, allocations: 3.938 kB / 0.4973 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1148, allocations: 39.8 kB / 0.4973 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1148, allocations: 8.062 kB / 0.4973 GB, free: 12.38 MB / 366.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.000113/0.1149, allocations: 124.1 kB / 0.4975 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1149, allocations: 23.83 kB / 0.4975 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.115, allocations: 17.41 kB / 0.4975 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.115, allocations: 3.938 kB / 0.4975 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.115, allocations: 0 / 0.4975 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.115, allocations: 0 / 0.4975 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1152, allocations: 225.7 kB / 0.4977 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1152, allocations: 0 / 0.4977 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1153, allocations: 27.97 kB / 0.4977 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1154, allocations: 3.938 kB / 0.4978 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1154, allocations: 3.984 kB / 0.4978 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1154, allocations: 4 kB / 0.4978 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1154, allocations: 0 / 0.4978 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.1159, allocations: 204.9 kB / 0.498 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.116, allocations: 96.94 kB / 0.498 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.116, allocations: 0 / 0.498 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1162, allocations: 23.97 kB / 0.4981 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.1163, allocations: 19.97 kB / 0.4981 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1163, allocations: 4 kB / 0.4981 GB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1164, allocations: 136.4 kB / 0.4982 GB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1164, allocations: 0 / 0.4982 GB, free: 11.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1166, allocations: 31.89 kB / 0.4983 GB, free: 11.35 MB / 366.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.0008892/0.1175, allocations: 0.7413 MB / 0.499 GB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000614/0.1181, allocations: 207.1 kB / 0.4992 GB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1181, allocations: 0 / 0.4992 GB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.1184, allocations: 72.12 kB / 0.4992 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1186, allocations: 23.97 kB / 0.4993 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.1217, allocations: 1.949 MB / 0.5012 GB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1221, allocations: 0.7123 MB / 0.5019 GB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.94e-05/0.1221, allocations: 17.08 kB / 0.5019 GB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.1222, allocations: 47.42 kB / 0.5019 GB, free: 7.414 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1222, allocations: 0 / 0.5019 GB, free: 7.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1429, allocations: 3.57 MB / 0.5054 GB, free: 4.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/7.894, allocations: 12.42 kB / 0.5054 GB, free: 4.02 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.502749240025878] Failed to read output from testmodel.py, exit status != 0: 8.0186036649975 8.04029383 7.930863975 Calling exit ...