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.001408/0.001408, 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.001911/0.001911, allocations: 218.8 kB / 22.25 MB, free: 4.852 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.789 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.102/0.102, allocations: 11.33 MB / 323.8 MB, free: 8.02 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: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [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.002214/0.002214, allocations: 59.91 kB / 451.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1292, allocations: 56.07 MB / 0.4956 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003493/0.1327, allocations: 1.7 MB / 0.4973 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1342, allocations: 0.5962 MB / 0.4979 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1343, allocations: 11.88 kB / 0.4979 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1345, allocations: 15.8 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1346, allocations: 27.73 kB / 0.4979 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.135, allocations: 83.77 kB / 0.498 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1353, allocations: 183.4 kB / 0.4982 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1355, allocations: 29.72 kB / 0.4982 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.1358, allocations: 71.7 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1359, allocations: 67.67 kB / 0.4983 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.136, allocations: 12 kB / 0.4984 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.136, allocations: 16 kB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1361, allocations: 31.84 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.403e-05/0.1362, allocations: 55.72 kB / 0.4985 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1365, allocations: 151.2 kB / 0.4986 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1365, allocations: 0 / 0.4986 GB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1365, allocations: 0 / 0.4986 GB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1365, allocations: 4 kB / 0.4986 GB, free: 14.58 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.001113/0.1376, allocations: 447.1 kB / 0.499 GB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1376, allocations: 8.031 kB / 0.499 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.1378, allocations: 36.78 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1383, allocations: 187.9 kB / 0.4993 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.1384, allocations: 115.4 kB / 0.4994 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1384, allocations: 8.375 kB / 0.4994 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.1389, allocations: 137.6 kB / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1389, allocations: 0 / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1389, allocations: 4 kB / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1389, allocations: 11.92 kB / 0.4995 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.1394, allocations: 123.9 kB / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.1402, allocations: 348.1 kB / 0.5 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.1407, allocations: 118.4 kB / 0.5001 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.1409, allocations: 56.8 kB / 0.5001 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1409, allocations: 4 kB / 0.5001 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000405/0.1414, allocations: 135.2 kB / 0.5003 GB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.995e-06/0.1414, allocations: 0 / 0.5003 GB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008857/0.1422, allocations: 237.5 kB / 0.5005 GB, free: 12.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1423, allocations: 55.41 kB / 0.5005 GB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1425, allocations: 191.1 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1425, allocations: 29.7 kB / 0.5008 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1426, allocations: 124.2 kB / 0.5009 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1427, allocations: 23.84 kB / 0.5009 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1427, allocations: 29.72 kB / 0.5009 GB, free: 12.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1429, allocations: 330.8 kB / 0.5012 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1432, allocations: 93.64 kB / 0.5013 GB, free: 11.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.1435, allocations: 127.6 kB / 0.5015 GB, free: 11.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.144, allocations: 173 kB / 0.5016 GB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.144, allocations: 0 / 0.5016 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006398/0.1446, allocations: 264.7 kB / 0.5019 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.1447, allocations: 29.7 kB / 0.5019 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1447, allocations: 0 / 0.5019 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.1447, allocations: 12.03 kB / 0.5019 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1449, allocations: 27.97 kB / 0.5019 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1449, allocations: 4 kB / 0.5019 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1451, allocations: 35.84 kB / 0.502 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1451, allocations: 8 kB / 0.502 GB, free: 10.86 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.0001188/0.1452, allocations: 125.8 kB / 0.5021 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1452, allocations: 11.91 kB / 0.5021 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.1453, allocations: 21.39 kB / 0.5021 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1453, allocations: 12.3 kB / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1453, allocations: 0 / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1453, allocations: 0 / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1455, allocations: 153.4 kB / 0.5023 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1455, allocations: 3.938 kB / 0.5023 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1456, allocations: 23.97 kB / 0.5023 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1456, allocations: 0 / 0.5023 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1456, allocations: 0 / 0.5023 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1456, allocations: 3.984 kB / 0.5023 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1456, allocations: 11.94 kB / 0.5023 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.1462, allocations: 204.9 kB / 0.5025 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1462, allocations: 15.84 kB / 0.5025 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1463, allocations: 3.984 kB / 0.5025 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1464, allocations: 31.97 kB / 0.5026 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.1465, allocations: 23.84 kB / 0.5026 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1465, allocations: 7.938 kB / 0.5026 GB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1466, allocations: 131.2 kB / 0.5027 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1466, allocations: 0 / 0.5027 GB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1469, allocations: 27.95 kB / 0.5028 GB, free: 9.996 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.000124/0.147, allocations: 105.9 kB / 0.5029 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.1476, allocations: 228.9 kB / 0.5031 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1476, allocations: 0 / 0.5031 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.1479, allocations: 71.88 kB / 0.5032 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1481, allocations: 32.5 kB / 0.5032 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1488, allocations: 272.4 kB / 0.5034 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.1489, allocations: 103.2 kB / 0.5035 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.149, allocations: 17.08 kB / 0.5036 GB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.149, allocations: 15.44 kB / 0.5036 GB, free: 9.102 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.149, allocations: 0 / 0.5036 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Templates: time 0.006228/0.1552, allocations: 2.031 MB / 0.5056 GB, free: 7.102 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.395803011953831] Failed to read output from testmodel.py, exit status != 0: 0.16526200622320175 0.439867394 0.30056365 Calling exit ...