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.001413/0.001413, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001645/0.001645, allocations: 213.9 kB / 22.3 MB, free: 5.281 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.535/1.535, allocations: 230.6 MB / 256.1 MB, free: 7.715 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.06508/0.06508, allocations: 11.34 MB / 323.8 MB, free: 7.953 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.002107/0.002107, allocations: 65.47 kB / 451.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 56.07 MB / 0.4957 GB, free: 1.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003675/0.1317, allocations: 1.711 MB / 0.4974 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1335, allocations: 0.5922 MB / 0.498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1337, allocations: 7.938 kB / 0.498 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.1338, allocations: 15.8 kB / 0.498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.134, allocations: 39.66 kB / 0.4981 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1344, allocations: 75.84 kB / 0.4981 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.1347, allocations: 179.4 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1348, allocations: 25.8 kB / 0.4983 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.1351, allocations: 83.69 kB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1352, allocations: 63.62 kB / 0.4985 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.1353, allocations: 12 kB / 0.4985 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.1353, allocations: 20 kB / 0.4985 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1354, allocations: 31.84 kB / 0.4985 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1355, allocations: 59.7 kB / 0.4986 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.1358, allocations: 143.3 kB / 0.4987 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1358, allocations: 0 / 0.4987 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1358, allocations: 0 / 0.4987 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1358, allocations: 4 kB / 0.4987 GB, free: 14.49 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.001096/0.1369, allocations: 451.1 kB / 0.4992 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1369, allocations: 8.031 kB / 0.4992 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.1371, allocations: 32.78 kB / 0.4992 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1376, allocations: 187.8 kB / 0.4994 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.1377, allocations: 111.4 kB / 0.4995 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1377, allocations: 16.31 kB / 0.4995 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1382, allocations: 137.7 kB / 0.4996 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1382, allocations: 0 / 0.4996 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.1382, allocations: 4 kB / 0.4996 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1382, allocations: 7.938 kB / 0.4996 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1387, allocations: 127.8 kB / 0.4998 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.1395, allocations: 340.2 kB / 0.5001 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.14, allocations: 126.4 kB / 0.5002 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.1403, allocations: 60.8 kB / 0.5003 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1403, allocations: 0 / 0.5003 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.1407, allocations: 119.3 kB / 0.5004 GB, free: 12.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.1407, allocations: 0 / 0.5004 GB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008882/0.1416, allocations: 245.5 kB / 0.5006 GB, free: 12.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.1417, allocations: 63.34 kB / 0.5007 GB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1419, allocations: 183.2 kB / 0.5008 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.142, allocations: 29.7 kB / 0.5009 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1421, allocations: 128.4 kB / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1421, allocations: 27.84 kB / 0.501 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.1422, allocations: 33.7 kB / 0.5011 GB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1424, allocations: 322.8 kB / 0.5014 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.1426, allocations: 93.64 kB / 0.5014 GB, free: 11.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.1429, allocations: 121.1 kB / 0.5016 GB, free: 11.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.1435, allocations: 177 kB / 0.5017 GB, free: 11.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1435, allocations: 0 / 0.5017 GB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006628/0.1441, allocations: 264.8 kB / 0.502 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.1442, allocations: 33.7 kB / 0.502 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1442, allocations: 0 / 0.502 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1442, allocations: 3.938 kB / 0.502 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1444, allocations: 32.28 kB / 0.5021 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1444, allocations: 0 / 0.5021 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1446, allocations: 43.94 kB / 0.5021 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1446, allocations: 4 kB / 0.5021 GB, free: 10.76 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.0001326/0.1447, allocations: 125.8 kB / 0.5022 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1448, allocations: 19.84 kB / 0.5022 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1448, allocations: 21.45 kB / 0.5023 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1448, allocations: 3.938 kB / 0.5023 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1448, allocations: 4 kB / 0.5023 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1448, allocations: 0 / 0.5023 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1451, allocations: 149.3 kB / 0.5024 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1451, allocations: 4 kB / 0.5024 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1452, allocations: 19.97 kB / 0.5024 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1452, allocations: 4 kB / 0.5024 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1452, allocations: 7.984 kB / 0.5024 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1452, allocations: 4 kB / 0.5024 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1453, allocations: 3.938 kB / 0.5024 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.1459, allocations: 212.8 kB / 0.5027 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.1459, allocations: 15.84 kB / 0.5027 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1459, allocations: 0 / 0.5027 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1461, allocations: 23.97 kB / 0.5027 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.1462, allocations: 23.91 kB / 0.5027 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1462, allocations: 11.92 kB / 0.5027 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1463, allocations: 127.2 kB / 0.5028 GB, free: 9.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1463, allocations: 0 / 0.5028 GB, free: 9.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1465, allocations: 31.95 kB / 0.5029 GB, free: 9.902 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.0001472/0.1467, allocations: 111.1 kB / 0.503 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.1473, allocations: 224.9 kB / 0.5032 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1473, allocations: 0 / 0.5032 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.1476, allocations: 72.12 kB / 0.5033 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1479, allocations: 20.2 kB / 0.5033 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.1486, allocations: 275.8 kB / 0.5035 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.1487, allocations: 107.4 kB / 0.5036 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.1488, allocations: 9.141 kB / 0.5037 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.1489, allocations: 16.5 kB / 0.5037 GB, free: 9.008 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1489, allocations: 0 / 0.5037 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Templates: time 0.005687/0.1546, allocations: 1.935 MB / 0.5056 GB, free: 7.113 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.150659080594778] Failed to read output from testmodel.py, exit status != 0: 0.1631995439529419 0.45692542899999994 0.318619256 Calling exit ...