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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06199/0.06199, allocations: 11.34 MB / 314 MB, free: 0.7695 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 437.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2764, allocations: 54.83 MB / 492.2 MB, free: 23.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002881/0.2793, allocations: 1.918 MB / 494.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2807, allocations: 0.763 MB / 494.8 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2808, allocations: 18.75 kB / 494.9 MB, free: 21.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.281, allocations: 54.7 kB / 494.9 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2811, allocations: 53.61 kB / 495 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.2817, allocations: 192.8 kB / 495.2 MB, free: 21.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.2821, allocations: 279 kB / 495.4 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2822, allocations: 35.58 kB / 495.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2823, allocations: 121.4 kB / 495.6 MB, free: 21.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2825, allocations: 124.7 kB / 495.7 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.2825, allocations: 15.12 kB / 495.7 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2827, allocations: 94.02 kB / 495.8 MB, free: 21.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.2828, allocations: 61.34 kB / 495.9 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.2829, allocations: 106.3 kB / 496 MB, free: 21.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.2833, allocations: 280.1 kB / 496.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2833, allocations: 1.344 kB / 496.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2833, allocations: 0 / 496.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2833, allocations: 4 kB / 496.3 MB, free: 21.18 MB / 366.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.0007524/0.284, allocations: 0.6012 MB / 496.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2841, allocations: 13.89 kB / 496.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.2841, allocations: 58.8 kB / 496.9 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.2842, allocations: 34.34 kB / 497 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.2847, allocations: 372.2 kB / 497.3 MB, free: 20.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.2848, allocations: 155.6 kB / 497.5 MB, free: 20.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.2848, allocations: 24.28 kB / 497.5 MB, free: 20.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2852, allocations: 209.9 kB / 497.7 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2852, allocations: 0 / 497.7 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2852, allocations: 10 kB / 497.7 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2852, allocations: 8.281 kB / 497.7 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2855, allocations: 116.6 kB / 497.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2866, allocations: 0.7276 MB / 498.6 MB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2868, allocations: 101.6 kB / 498.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.2869, allocations: 57.28 kB / 498.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2869, allocations: 1.5 kB / 498.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.2872, allocations: 138.9 kB / 498.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.2872, allocations: 5.094 kB / 498.9 MB, free: 19.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.000482/0.2876, allocations: 303.3 kB / 499.2 MB, free: 19.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.2877, allocations: 81.09 kB / 499.2 MB, free: 19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.2879, allocations: 285.7 kB / 499.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.288, allocations: 28.02 kB / 499.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2881, allocations: 183.9 kB / 499.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.2881, allocations: 55.08 kB / 499.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.2882, allocations: 55.8 kB / 499.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.2882, allocations: 346.5 kB / 0.4884 GB, free: 18.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.2883, allocations: 57.97 kB / 0.4885 GB, free: 18.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2885, allocations: 157.9 kB / 0.4886 GB, free: 18.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2887, allocations: 292.4 kB / 0.4889 GB, free: 17.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2887, allocations: 5.719 kB / 0.4889 GB, free: 17.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003949/0.2891, allocations: 340.6 kB / 0.4893 GB, free: 17.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.2892, allocations: 39.41 kB / 0.4893 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2892, allocations: 5.812 kB / 0.4893 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2892, allocations: 5.594 kB / 0.4893 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.2894, allocations: 46.7 kB / 0.4894 GB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2894, allocations: 8.484 kB / 0.4894 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2895, allocations: 28.66 kB / 0.4894 GB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2895, allocations: 14.91 kB / 0.4894 GB, free: 17.5 MB / 366.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.0001239/0.2897, allocations: 187.8 kB / 0.4896 GB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.2897, allocations: 24.7 kB / 0.4896 GB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.2897, allocations: 34.59 kB / 0.4896 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2897, allocations: 2.344 kB / 0.4896 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2897, allocations: 0 / 0.4896 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2898, allocations: 7.922 kB / 0.4896 GB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.2903, allocations: 0.6279 MB / 0.4903 GB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2903, allocations: 3.938 kB / 0.4903 GB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2906, allocations: 36.16 kB / 0.4903 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2906, allocations: 0 / 0.4903 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2906, allocations: 12.22 kB / 0.4903 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.2906, allocations: 1.125 kB / 0.4903 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2906, allocations: 5.125 kB / 0.4903 GB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.291, allocations: 451.4 kB / 0.4907 GB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.2911, allocations: 107.8 kB / 0.4908 GB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.2911, allocations: 7.688 kB / 0.4909 GB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2912, allocations: 3.438 kB / 0.4909 GB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2913, allocations: 12.48 kB / 0.4909 GB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.2913, allocations: 4.75 kB / 0.4909 GB, free: 16.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.2914, allocations: 190 kB / 0.4911 GB, free: 16.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2914, allocations: 0 / 0.4911 GB, free: 16.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2918, allocations: 67.38 kB / 0.4911 GB, free: 16.18 MB / 366.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.0006677/0.2925, allocations: 1.015 MB / 0.4921 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.2928, allocations: 239.4 kB / 0.4923 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2928, allocations: 0 / 0.4923 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2929, allocations: 137.4 kB / 0.4925 GB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2932, allocations: 17.59 kB / 0.4925 GB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.2958, allocations: 2.844 MB / 0.4953 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.296, allocations: 0.7628 MB / 0.496 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.657e-05/0.2961, allocations: 26.84 kB / 0.496 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.2961, allocations: 83.56 kB / 0.4961 GB, free: 12.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2962, allocations: 0 / 0.4961 GB, free: 12.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3257, allocations: 4.796 MB / 0.5008 GB, free: 9.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.639, allocations: 9.031 kB / 0.5008 GB, free: 9.828 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.138214841019362] Failed to read output from testmodel.py, exit status != 0: 8.710167383775115 8.726233001 8.439455843 Calling exit ...