Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001998/0.001998, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00158/0.00158, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.643/1.643, allocations: 230.6 MB / 256 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.06756/0.06756, allocations: 11.34 MB / 323.8 MB, free: 8.031 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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [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.002329/0.002329, allocations: 67.89 kB / 451.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1419, allocations: 56.07 MB / 0.4956 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.004036/0.1459, allocations: 1.767 MB / 0.4974 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1475, allocations: 0.6156 MB / 0.498 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.1477, allocations: 15.81 kB / 0.498 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1479, allocations: 23.73 kB / 0.498 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1481, allocations: 31.61 kB / 0.498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.1485, allocations: 115.8 kB / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.149, allocations: 227.4 kB / 0.4984 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.1492, allocations: 36.8 kB / 0.4984 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1494, allocations: 99.62 kB / 0.4985 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1496, allocations: 83.53 kB / 0.4986 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.1496, allocations: 16 kB / 0.4986 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.1497, allocations: 20 kB / 0.4986 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1497, allocations: 47.77 kB / 0.4987 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1499, allocations: 79.52 kB / 0.4987 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1502, allocations: 195.1 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1502, allocations: 4 kB / 0.4989 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1502, allocations: 0 / 0.4989 GB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.1503, allocations: 0 / 0.4989 GB, free: 14.27 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001373/0.1516, allocations: 0.5029 MB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1517, allocations: 8.031 kB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1518, allocations: 24.8 kB / 0.4994 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.1524, allocations: 233.8 kB / 0.4997 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.1525, allocations: 101.7 kB / 0.4998 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.1526, allocations: 24.27 kB / 0.4998 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.1531, allocations: 185.7 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1531, allocations: 0 / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1532, allocations: 4 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1532, allocations: 4 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.1537, allocations: 155.8 kB / 0.5001 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.1552, allocations: 467.9 kB / 0.5006 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005291/0.1557, allocations: 150.3 kB / 0.5007 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1559, allocations: 72.8 kB / 0.5008 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.156, allocations: 0 / 0.5008 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/0.1564, allocations: 151.2 kB / 0.5009 GB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.1564, allocations: 4 kB / 0.5009 GB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009578/0.1574, allocations: 273.5 kB / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1574, allocations: 55.41 kB / 0.5012 GB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1577, allocations: 207.1 kB / 0.5014 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1577, allocations: 29.7 kB / 0.5015 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1579, allocations: 148.3 kB / 0.5016 GB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1579, allocations: 39.72 kB / 0.5016 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.158, allocations: 45.66 kB / 0.5017 GB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1583, allocations: 330.8 kB / 0.502 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.1586, allocations: 109.6 kB / 0.5021 GB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1589, allocations: 133.1 kB / 0.5022 GB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.1595, allocations: 204.9 kB / 0.5024 GB, free: 10.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.1595, allocations: 3.938 kB / 0.5024 GB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008039/0.1603, allocations: 306.9 kB / 0.5027 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.1604, allocations: 33.7 kB / 0.5028 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1604, allocations: 0 / 0.5028 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.1604, allocations: 4 kB / 0.5028 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.1612, allocations: 83.91 kB / 0.5028 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1612, allocations: 0 / 0.5028 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.1614, allocations: 27.97 kB / 0.5029 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1615, allocations: 8 kB / 0.5029 GB, free: 9.961 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,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001732/0.1616, allocations: 133.7 kB / 0.503 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.1617, allocations: 23.84 kB / 0.503 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.1618, allocations: 25.41 kB / 0.5031 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1618, allocations: 4 kB / 0.5031 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1618, allocations: 0 / 0.5031 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1618, allocations: 0 / 0.5031 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1621, allocations: 185.2 kB / 0.5032 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1621, allocations: 0 / 0.5032 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.1629, allocations: 71.94 kB / 0.5033 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1629, allocations: 0 / 0.5033 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.1629, allocations: 7.984 kB / 0.5033 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.1629, allocations: 4 kB / 0.5033 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1629, allocations: 0 / 0.5033 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009713/0.1639, allocations: 328.6 kB / 0.5036 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.1639, allocations: 15.86 kB / 0.5036 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.164, allocations: 16.03 kB / 0.5037 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1641, allocations: 19.97 kB / 0.5037 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.1642, allocations: 19.97 kB / 0.5037 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1643, allocations: 4 kB / 0.5037 GB, free: 9.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1644, allocations: 148.6 kB / 0.5038 GB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1644, allocations: 0 / 0.5038 GB, free: 8.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1647, allocations: 35.94 kB / 0.5039 GB, free: 8.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0001847/0.1649, allocations: 111.7 kB / 0.504 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.1656, allocations: 250.4 kB / 0.5042 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1656, allocations: 0 / 0.5042 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1659, allocations: 92.05 kB / 0.5043 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1662, allocations: 25.36 kB / 0.5043 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1673, allocations: 385.2 kB / 0.5047 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1675, allocations: 125.2 kB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.1676, allocations: 21.48 kB / 0.5048 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1677, allocations: 15.44 kB / 0.5049 GB, free: 7.805 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1677, allocations: 7.875 kB / 0.5049 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Templates: time 0.007011/0.1747, allocations: 2.251 MB / 0.5071 GB, free: 5.586 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202382137998939] Failed to read output from testmodel.py, exit status != 0: 0.1847831029444933 0.44382137000000005 0.289781257 Calling exit ...