Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.001673/0.001673, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002367/0.002367, allocations: 155.7 kB / 23.01 MB, free: 4.605 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.06261/0.06261, allocations: 8.609 MB / 268.4 MB, free: 8.527 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.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [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.002123/0.002123, allocations: 71.89 kB / 396.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1329, allocations: 56.04 MB / 452.1 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.004317/0.1372, allocations: 1.863 MB / 454 MB, free: 13.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.139, allocations: 0.7327 MB / 454.7 MB, free: 13.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1391, allocations: 19.81 kB / 454.7 MB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.1394, allocations: 63.5 kB / 454.8 MB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1395, allocations: 47.64 kB / 454.8 MB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.1401, allocations: 197.6 kB / 455 MB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.1405, allocations: 279.3 kB / 455.3 MB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1407, allocations: 28.92 kB / 455.3 MB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1408, allocations: 123.5 kB / 455.5 MB, free: 12.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.141, allocations: 119.4 kB / 455.6 MB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1411, allocations: 19.94 kB / 455.6 MB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1412, allocations: 79.94 kB / 455.7 MB, free: 12.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.1413, allocations: 55.81 kB / 455.7 MB, free: 12.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1414, allocations: 87.41 kB / 455.8 MB, free: 12.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.1419, allocations: 278.7 kB / 456.1 MB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1419, allocations: 3.984 kB / 456.1 MB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1419, allocations: 4 kB / 456.1 MB, free: 11.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1419, allocations: 0 / 456.1 MB, free: 11.78 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001271/0.1432, allocations: 0.5299 MB / 456.6 MB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1432, allocations: 8.031 kB / 456.6 MB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.1433, allocations: 40.7 kB / 456.7 MB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.1439, allocations: 287.9 kB / 457 MB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.1441, allocations: 183.1 kB / 457.1 MB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.1442, allocations: 28.08 kB / 457.2 MB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.1446, allocations: 250.2 kB / 457.4 MB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1446, allocations: 3.938 kB / 457.4 MB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1446, allocations: 11.94 kB / 457.4 MB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1446, allocations: 4 kB / 457.4 MB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.1449, allocations: 141.6 kB / 457.6 MB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1463, allocations: 0.64 MB / 458.2 MB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1466, allocations: 128.2 kB / 458.3 MB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1468, allocations: 94.53 kB / 458.4 MB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1468, allocations: 8 kB / 458.4 MB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.1471, allocations: 182 kB / 458.6 MB, free: 9.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.1471, allocations: 0 / 458.6 MB, free: 9.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006937/0.1478, allocations: 358.6 kB / 459 MB, free: 8.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.1479, allocations: 85.09 kB / 459 MB, free: 8.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1483, allocations: 292.4 kB / 459.3 MB, free: 8.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1483, allocations: 25.7 kB / 459.3 MB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1485, allocations: 180.4 kB / 459.5 MB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.1486, allocations: 59.52 kB / 459.6 MB, free: 8.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1487, allocations: 61.88 kB / 459.6 MB, free: 7.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003294/0.149, allocations: 342.8 kB / 460 MB, free: 7.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1492, allocations: 94.19 kB / 460.1 MB, free: 7.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.1495, allocations: 190.3 kB / 460.3 MB, free: 7.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.1501, allocations: 282.4 kB / 460.5 MB, free: 6.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1501, allocations: 3.938 kB / 460.5 MB, free: 6.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005799/0.1506, allocations: 375.6 kB / 460.9 MB, free: 6.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.1507, allocations: 42.06 kB / 460.9 MB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1507, allocations: 8 kB / 461 MB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1507, allocations: 4 kB / 461 MB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.151, allocations: 55.84 kB / 461 MB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.151, allocations: 4 kB / 461 MB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1512, allocations: 27.78 kB / 461 MB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.1512, allocations: 16 kB / 461.1 MB, free: 6.406 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0002233/0.1514, allocations: 187.4 kB / 461.2 MB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.1515, allocations: 27.86 kB / 461.3 MB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.1515, allocations: 26.23 kB / 461.3 MB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1515, allocations: 4 kB / 461.3 MB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1515, allocations: 0 / 461.3 MB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1515, allocations: 0 / 461.3 MB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/0.1524, allocations: 0.588 MB / 461.9 MB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1524, allocations: 0 / 461.9 MB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.1527, allocations: 39.91 kB / 461.9 MB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1527, allocations: 0 / 461.9 MB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1527, allocations: 12.03 kB / 461.9 MB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1528, allocations: 4 kB / 461.9 MB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.1528, allocations: 3.938 kB / 461.9 MB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.1535, allocations: 0.5089 MB / 462.5 MB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.1535, allocations: 23.81 kB / 462.5 MB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1536, allocations: 12 kB / 462.5 MB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1537, allocations: 7.938 kB / 462.5 MB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1537, allocations: 11.98 kB / 462.5 MB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.1538, allocations: 4 kB / 462.5 MB, free: 4.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002494/0.154, allocations: 195.2 kB / 462.7 MB, free: 4.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.154, allocations: 3.938 kB / 462.7 MB, free: 4.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.1544, allocations: 63.89 kB / 462.8 MB, free: 4.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0002558/0.1547, allocations: 134 kB / 462.9 MB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1551, allocations: 294.5 kB / 463.2 MB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1551, allocations: 0 / 463.2 MB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.1553, allocations: 161.8 kB / 463.3 MB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1556, allocations: 24.66 kB / 463.4 MB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.1565, allocations: 0.5405 MB / 463.9 MB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1567, allocations: 158.8 kB / 464.1 MB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.159e-05/0.1567, allocations: 30.28 kB / 464.1 MB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.1568, allocations: 20.5 kB / 464.1 MB, free: 3.137 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1568, allocations: 0 / 464.1 MB, free: 3.137 MB / 430.1 MB Notification: Performance of Templates: time 0.005871/0.1627, allocations: 1.811 MB / 465.9 MB, free: 1.375 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.800919172004797] Failed to read output from testmodel.py, exit status != 0: 0.17202066606841981 0.18696848099999994 0.041615609000000005 Calling exit ...