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.000754/0.000754, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009498/0.001704, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007278/0.0007278, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008882/0.001616, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.162/1.162, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1307/1.292, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.03771/0.03771, allocations: 8.619 MB / 252.6 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009502/0.04721, allocations: 3.125 MB / 255.7 MB, free: 3.605 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.548e-05, allocations: 6.312 kB / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003788/0.003823, allocations: 1.933 MB / 258.9 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.005664, allocations: 0.7712 MB / 259.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.005864, allocations: 23.75 kB / 259.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.006074, allocations: 59.5 kB / 259.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.006203, allocations: 71.55 kB / 259.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.006915, allocations: 179.5 kB / 260 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.007359, allocations: 271.3 kB / 260.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.007531, allocations: 38.86 kB / 260.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.007854, allocations: 183.5 kB / 260.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.008111, allocations: 83.75 kB / 260.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.008155, allocations: 16 kB / 260.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.008375, allocations: 95.91 kB / 260.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.008477, allocations: 39.81 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.008571, allocations: 47.81 kB / 260.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.008958, allocations: 203.1 kB / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-05/0.008982, allocations: 0 / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.008985, allocations: 0 / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.009006, allocations: 3.938 kB / 261 MB, free: 14.3 MB / 266.7 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.001008/0.01001, allocations: 0.5555 MB / 261.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.01006, allocations: 8.031 kB / 261.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.01016, allocations: 44.91 kB / 261.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.01069, allocations: 300.4 kB / 261.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.01084, allocations: 183.1 kB / 262.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.01089, allocations: 20.38 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.01123, allocations: 218.3 kB / 262.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01124, allocations: 3.938 kB / 262.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.01126, allocations: 4 kB / 262.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.01127, allocations: 4 kB / 262.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.01143, allocations: 84.45 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.01244, allocations: 0.4981 MB / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01268, allocations: 136.1 kB / 263 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.01277, allocations: 62.55 kB / 263.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.01278, allocations: 0 / 263.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.01299, allocations: 149.5 kB / 263.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.01299, allocations: 0 / 263.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003525/0.01335, allocations: 226.7 kB / 263.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.0134, allocations: 81.11 kB / 263.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.01363, allocations: 259 kB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.01366, allocations: 29.7 kB / 263.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01377, allocations: 168.7 kB / 264 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.01382, allocations: 47.58 kB / 264 MB, free: 11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.01391, allocations: 61.89 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01404, allocations: 346.7 kB / 264.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.01411, allocations: 61.03 kB / 264.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01425, allocations: 143.8 kB / 264.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.01449, allocations: 240.4 kB / 264.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.0145, allocations: 0 / 264.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003248/0.01482, allocations: 239.5 kB / 265.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.01488, allocations: 49.62 kB / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.01489, allocations: 0 / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01491, allocations: 4 kB / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.01522, allocations: 72.25 kB / 265.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.01523, allocations: 8 kB / 265.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01536, allocations: 27.78 kB / 265.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.01538, allocations: 8 kB / 265.2 MB, free: 9.621 MB / 266.7 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,Gain.TS_in,Integrator.TS_in,FirstOrder.TS_in,LeadLAG.TS_in,complexPoles.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.0001617/0.01554, allocations: 165.5 kB / 265.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.01558, allocations: 31.91 kB / 265.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.01564, allocations: 30.19 kB / 265.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01564, allocations: 3.984 kB / 265.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01565, allocations: 4 kB / 265.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01565, allocations: 0 / 265.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.0162, allocations: 446.7 kB / 265.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.0162, allocations: 0 / 265.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.01647, allocations: 43.95 kB / 266 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.01651, allocations: 31.69 kB / 266 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01651, allocations: 0 / 266 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.01653, allocations: 12.03 kB / 266 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01654, allocations: 0 / 266 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.01654, allocations: 4 kB / 266 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.01695, allocations: 411.2 kB / 266.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.01699, allocations: 12 kB / 266.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.0171, allocations: 8 kB / 266.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01714, allocations: 11.98 kB / 266.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.01717, allocations: 4 kB / 266.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01727, allocations: 88.62 kB / 266.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01727, allocations: 0 / 266.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.01765, allocations: 67.88 kB / 266.6 MB, free: 8.18 MB / 266.7 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.0002379/0.01789, allocations: 112.3 kB / 266.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.0182, allocations: 243.3 kB / 266.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.01821, allocations: 4 kB / 266.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.0183, allocations: 138.6 kB / 267.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01852, allocations: 40.58 kB / 267.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.01925, allocations: 480.5 kB / 267.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.01931, allocations: 88.31 kB / 267.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.01938, allocations: 26.28 kB / 267.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.01947, allocations: 91.36 kB / 267.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01947, allocations: 0 / 267.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of Templates: time 0.004972/0.02445, allocations: 1.981 MB / 269.8 MB, free: 4.926 MB / 266.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.942275163717568]