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.001741/0.001741, allocations: 75.75 kB / 19.76 MB, free: 2.02 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.001707/0.001707, allocations: 155.8 kB / 23 MB, free: 4.953 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.06153/0.06153, allocations: 8.618 MB / 268.4 MB, free: 8.516 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.003241/0.003241, allocations: 72.17 kB / 396.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1344, allocations: 56.05 MB / 452.1 MB, free: 15.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003597/0.138, allocations: 1.7 MB / 453.8 MB, free: 14.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1394, allocations: 0.5884 MB / 454.4 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1395, allocations: 11.88 kB / 454.4 MB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1396, allocations: 19.73 kB / 454.4 MB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1397, allocations: 35.66 kB / 454.5 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1401, allocations: 75.84 kB / 454.6 MB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1404, allocations: 179.5 kB / 454.7 MB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1405, allocations: 25.78 kB / 454.8 MB, free: 13.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1407, allocations: 79.7 kB / 454.8 MB, free: 13.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1408, allocations: 63.61 kB / 454.9 MB, free: 12.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1409, allocations: 12 kB / 454.9 MB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.1409, allocations: 20 kB / 454.9 MB, free: 12.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.141, allocations: 27.91 kB / 455 MB, free: 12.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.141, allocations: 63.59 kB / 455 MB, free: 12.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1413, allocations: 147.3 kB / 455.2 MB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1413, allocations: 4 kB / 455.2 MB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1413, allocations: 4 kB / 455.2 MB, free: 12.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1413, allocations: 0 / 455.2 MB, free: 12.69 MB / 430.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.001011/0.1423, allocations: 447.2 kB / 455.6 MB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1423, allocations: 8.031 kB / 455.6 MB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.1425, allocations: 28.83 kB / 455.6 MB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1429, allocations: 195.5 kB / 455.8 MB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.143, allocations: 111.4 kB / 455.9 MB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.143, allocations: 8.375 kB / 455.9 MB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.1435, allocations: 137.7 kB / 456.1 MB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1435, allocations: 4 kB / 456.1 MB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1435, allocations: 4 kB / 456.1 MB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1435, allocations: 7.984 kB / 456.1 MB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.144, allocations: 119.9 kB / 456.2 MB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.1448, allocations: 344.1 kB / 456.6 MB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1453, allocations: 126.4 kB / 456.7 MB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1455, allocations: 68.73 kB / 456.7 MB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1456, allocations: 3.938 kB / 456.7 MB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.1459, allocations: 123.3 kB / 456.9 MB, free: 10.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1459, allocations: 0 / 456.9 MB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008892/0.1468, allocations: 241.5 kB / 457.1 MB, free: 10.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1469, allocations: 55.41 kB / 457.2 MB, free: 10.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1471, allocations: 187.8 kB / 457.3 MB, free: 10.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1471, allocations: 29.7 kB / 457.4 MB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1472, allocations: 124.2 kB / 457.5 MB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1472, allocations: 27.78 kB / 457.5 MB, free: 10.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.1473, allocations: 33.7 kB / 457.5 MB, free: 10.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1475, allocations: 322.8 kB / 457.9 MB, free: 9.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.1477, allocations: 101.5 kB / 458 MB, free: 9.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.148, allocations: 125.1 kB / 458.1 MB, free: 9.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.1486, allocations: 176.9 kB / 458.3 MB, free: 9.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1486, allocations: 4 kB / 458.3 MB, free: 9.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006822/0.1493, allocations: 252.8 kB / 458.5 MB, free: 9.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.1493, allocations: 41.8 kB / 458.6 MB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1493, allocations: 0 / 458.6 MB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1493, allocations: 3.938 kB / 458.6 MB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1495, allocations: 35.89 kB / 458.6 MB, free: 9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1495, allocations: 0 / 458.6 MB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1497, allocations: 27.92 kB / 458.6 MB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1498, allocations: 11.94 kB / 458.6 MB, free: 8.961 MB / 430.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.0001211/0.1499, allocations: 129.8 kB / 458.8 MB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1499, allocations: 15.89 kB / 458.8 MB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.1499, allocations: 17.47 kB / 458.8 MB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.15, allocations: 3.938 kB / 458.8 MB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.15, allocations: 4 kB / 458.8 MB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.15, allocations: 384 / 458.8 MB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1501, allocations: 157.3 kB / 458.9 MB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1501, allocations: 0 / 458.9 MB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1503, allocations: 23.91 kB / 459 MB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1503, allocations: 11.94 kB / 459 MB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1503, allocations: 0 / 459 MB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1503, allocations: 0 / 459 MB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1503, allocations: 3.938 kB / 459 MB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.1509, allocations: 208.8 kB / 459.2 MB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.1509, allocations: 11.91 kB / 459.2 MB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.151, allocations: 0 / 459.2 MB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1512, allocations: 31.95 kB / 459.2 MB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.1512, allocations: 23.91 kB / 459.3 MB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1513, allocations: 4 kB / 459.3 MB, free: 8.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1514, allocations: 131.1 kB / 459.4 MB, free: 8.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1514, allocations: 0 / 459.4 MB, free: 8.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1516, allocations: 31.95 kB / 459.4 MB, free: 8.109 MB / 430.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.0001207/0.1517, allocations: 103.2 kB / 459.5 MB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.1524, allocations: 232.9 kB / 459.7 MB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1524, allocations: 3.938 kB / 459.8 MB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.1527, allocations: 63.94 kB / 459.8 MB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.1529, allocations: 24.17 kB / 459.8 MB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.1536, allocations: 272.3 kB / 460.1 MB, free: 7.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.1537, allocations: 107.4 kB / 460.2 MB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.1537, allocations: 9.156 kB / 460.2 MB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.1538, allocations: 24.42 kB / 460.2 MB, free: 7.215 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1538, allocations: 0 / 460.2 MB, free: 7.215 MB / 430.1 MB Notification: Performance of Templates: time 0.005677/0.1595, allocations: 1.92 MB / 462.2 MB, free: 5.336 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.603279603063129] Failed to read output from testmodel.py, exit status != 0: 0.17140319605823606 0.185007774 0.040324257 Calling exit ...