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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 92 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009783/0.009783, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05455/0.05455, allocations: 10.74 MB / 281.5 MB, free: 10.44 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 15.12 kB / 342.3 MB, free: 23.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09387, allocations: 50.01 MB / 392.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.00213/0.09604, allocations: 1.607 MB / 394 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.09753, allocations: 0.7881 MB / 394.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.09776, allocations: 15.88 kB / 394.8 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.09796, allocations: 47.77 kB / 394.8 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.09808, allocations: 39.77 kB / 394.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.09865, allocations: 171.7 kB / 395 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.09892, allocations: 259.3 kB / 395.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.09907, allocations: 44.72 kB / 395.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.09919, allocations: 99.5 kB / 395.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.09939, allocations: 115.4 kB / 395.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.09943, allocations: 8 kB / 395.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.09956, allocations: 75.94 kB / 395.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.09965, allocations: 51.77 kB / 395.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.09977, allocations: 133 kB / 395.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1, allocations: 259.1 kB / 396 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1001, allocations: 0 / 396 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1001, allocations: 0 / 396 MB, free: 1.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1001, allocations: 0 / 396 MB, free: 1.594 MB / 286.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.0007439/0.1008, allocations: 0.5432 MB / 396.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1009, allocations: 12.03 kB / 396.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.1009, allocations: 54.73 kB / 396.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.101, allocations: 32.56 kB / 396.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1014, allocations: 331.3 kB / 397 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1015, allocations: 149.4 kB / 397.1 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.1016, allocations: 31.94 kB / 397.2 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1019, allocations: 212.5 kB / 397.4 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.102, allocations: 3.938 kB / 397.4 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.102, allocations: 12 kB / 397.4 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.102, allocations: 4 kB / 397.4 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1022, allocations: 115.7 kB / 397.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1033, allocations: 0.7378 MB / 398.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1036, allocations: 122.5 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1037, allocations: 64.84 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1037, allocations: 0 / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1039, allocations: 141 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1039, allocations: 3.938 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004397/0.1044, allocations: 287.1 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1044, allocations: 89.05 kB / 398.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1047, allocations: 287.3 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1047, allocations: 29.7 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1049, allocations: 176 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1049, allocations: 55.23 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.105, allocations: 37.7 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1051, allocations: 338.8 kB / 399.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1052, allocations: 60.48 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1053, allocations: 156.1 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1056, allocations: 282.4 kB / 400.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1056, allocations: 0 / 400.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004253/0.1061, allocations: 338.9 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.1061, allocations: 41.73 kB / 400.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1061, allocations: 4 kB / 400.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1061, allocations: 4 kB / 400.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1064, allocations: 51.91 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1064, allocations: 4 kB / 400.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1065, allocations: 39.61 kB / 400.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1065, allocations: 8 kB / 400.8 MB, free: 12.39 MB / 302.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.0001585/0.1067, allocations: 183.5 kB / 401 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1067, allocations: 23.72 kB / 401 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1068, allocations: 38.28 kB / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1068, allocations: 0 / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1068, allocations: 0 / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1068, allocations: 3.938 kB / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.1075, allocations: 0.6335 MB / 401.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1075, allocations: 0 / 401.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.1077, allocations: 39.95 kB / 401.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1077, allocations: 4 kB / 401.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1078, allocations: 7.922 kB / 401.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1078, allocations: 4 kB / 401.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1078, allocations: 0 / 401.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.1083, allocations: 457.3 kB / 402.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.1083, allocations: 104.8 kB / 402.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1084, allocations: 4 kB / 402.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1085, allocations: 8.281 kB / 402.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1085, allocations: 11.92 kB / 402.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1086, allocations: 12 kB / 402.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1087, allocations: 190 kB / 402.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1087, allocations: 0 / 402.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.109, allocations: 59.84 kB / 402.6 MB, free: 10.51 MB / 302.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.0007779/0.1098, allocations: 1.027 MB / 403.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1102, allocations: 263.6 kB / 403.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1102, allocations: 4.25 kB / 403.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1103, allocations: 155.3 kB / 404 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1106, allocations: 20.66 kB / 404 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1134, allocations: 2.924 MB / 407 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1137, allocations: 0.7635 MB / 407.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.1138, allocations: 30.28 kB / 407.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.1139, allocations: 83.41 kB / 407.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.114, allocations: 0 / 407.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4067/0.5206, allocations: 4.413 MB / 412.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.5209, allocations: 247.9 kB / 412.5 MB, free: 476 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.255, allocations: 0 / 412.5 MB, free: 476 kB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)