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.001255/0.001255, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001371/0.001371, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.06257/0.06257, allocations: 11.34 MB / 324.6 MB, free: 8.227 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="cs",version="2.0",platforms={"static"}) [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.001876/0.001876, allocations: 71.91 kB / 451.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 56.07 MB / 0.496 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003132/0.1102, allocations: 1.924 MB / 0.4979 GB, free: 384 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1117, allocations: 0.7988 MB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1118, allocations: 23.75 kB / 0.4987 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.112, allocations: 55.56 kB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1121, allocations: 55.64 kB / 0.4988 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1126, allocations: 202.4 kB / 0.499 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1129, allocations: 279.3 kB / 0.4992 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1131, allocations: 33.2 kB / 0.4993 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1132, allocations: 127.5 kB / 0.4994 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1134, allocations: 123.4 kB / 0.4995 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1135, allocations: 16 kB / 0.4995 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1136, allocations: 91.92 kB / 0.4996 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.1137, allocations: 51.77 kB / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1138, allocations: 111.3 kB / 0.4998 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1142, allocations: 278.6 kB / 0.5 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1142, allocations: 0 / 0.5 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1142, allocations: 0 / 0.5 GB, free: 14.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1142, allocations: 0 / 0.5 GB, free: 14.15 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008274/0.115, allocations: 0.5416 MB / 0.5006 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.115, allocations: 8.031 kB / 0.5006 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.115, allocations: 4.469 kB / 0.5006 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.1151, allocations: 54.73 kB / 0.5006 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.1152, allocations: 32.75 kB / 0.5007 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.1157, allocations: 299.8 kB / 0.501 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.1158, allocations: 186.8 kB / 0.5011 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.1159, allocations: 16 kB / 0.5011 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.1163, allocations: 232.4 kB / 0.5014 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1163, allocations: 0 / 0.5014 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1163, allocations: 8 kB / 0.5014 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1163, allocations: 4 kB / 0.5014 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1165, allocations: 108 kB / 0.5015 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1177, allocations: 0.706 MB / 0.5022 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1179, allocations: 102.5 kB / 0.5023 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.118, allocations: 64.83 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.118, allocations: 0 / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1182, allocations: 141 kB / 0.5025 GB, free: 11.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1182, allocations: 3.938 kB / 0.5025 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000497/0.1187, allocations: 291.3 kB / 0.5027 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1188, allocations: 89.09 kB / 0.5028 GB, free: 11.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1191, allocations: 284.5 kB / 0.5031 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1191, allocations: 29.7 kB / 0.5031 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1192, allocations: 184.3 kB / 0.5033 GB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1193, allocations: 55.58 kB / 0.5034 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.1194, allocations: 61.92 kB / 0.5034 GB, free: 10.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1196, allocations: 338.8 kB / 0.5037 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1197, allocations: 64.42 kB / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1198, allocations: 153 kB / 0.504 GB, free: 9.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.1202, allocations: 291 kB / 0.5042 GB, free: 9.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1202, allocations: 0 / 0.5042 GB, free: 9.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000458/0.1206, allocations: 330.8 kB / 0.5045 GB, free: 9.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.1207, allocations: 41.69 kB / 0.5046 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1207, allocations: 4.375 kB / 0.5046 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1207, allocations: 8 kB / 0.5046 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1209, allocations: 51.91 kB / 0.5046 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1209, allocations: 15.86 kB / 0.5047 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1211, allocations: 27.78 kB / 0.5047 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1211, allocations: 12 kB / 0.5047 GB, free: 9.012 MB / 382.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.000182/0.1213, allocations: 189 kB / 0.5049 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1213, allocations: 31.81 kB / 0.5049 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.1214, allocations: 34.22 kB / 0.5049 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1214, allocations: 4 kB / 0.5049 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1214, allocations: 3.938 kB / 0.5049 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1214, allocations: 0 / 0.5049 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.1221, allocations: 0.6079 MB / 0.5055 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1221, allocations: 0 / 0.5055 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.1224, allocations: 40 kB / 0.5056 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1224, allocations: 3.938 kB / 0.5056 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1224, allocations: 4 kB / 0.5056 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1224, allocations: 4 kB / 0.5056 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1224, allocations: 0 / 0.5056 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.123, allocations: 457.7 kB / 0.506 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.123, allocations: 23.8 kB / 0.5061 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.123, allocations: 8.125 kB / 0.5061 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1231, allocations: 8.062 kB / 0.5061 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1232, allocations: 7.984 kB / 0.5061 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1232, allocations: 8 kB / 0.5061 GB, free: 7.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1234, allocations: 195.1 kB / 0.5063 GB, free: 7.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1234, allocations: 96 / 0.5063 GB, free: 7.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.1237, allocations: 67.77 kB / 0.5063 GB, free: 7.234 MB / 382.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.0009185/0.1246, allocations: 1.011 MB / 0.5073 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.125, allocations: 234 kB / 0.5075 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.125, allocations: 0.75 kB / 0.5075 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1251, allocations: 123.4 kB / 0.5077 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1254, allocations: 29.03 kB / 0.5077 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.1287, allocations: 2.846 MB / 0.5105 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.1291, allocations: 0.7635 MB / 0.5112 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.199e-05/0.1292, allocations: 30.28 kB / 0.5112 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1293, allocations: 83.41 kB / 0.5113 GB, free: 1.879 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1293, allocations: 0 / 0.5113 GB, free: 1.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/0.3488, allocations: 5.046 MB / 0.5162 GB, free: 22.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.08, allocations: 2.375 kB / 0.5163 GB, free: 22.83 MB / 382.1 MB " [Timeout remaining time 649] (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 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.642905902001075] Failed to read output from testmodel.py, exit status != 0: 11.237501539988443 11.250093885 11.133370544 Calling exit ...