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.0008643/0.0008643, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001047/0.001047, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9306/0.9306, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.03479/0.03479, allocations: 8.601 MB / 267.8 MB, free: 5.125 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: "" <> 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 2.424e-06/2.424e-06, allocations: 3.938 kB / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.543e-05, allocations: 9.234 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003031/0.003057, allocations: 1.837 MB / 396.9 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.004092, allocations: 0.748 MB / 397.7 MB, free: 60 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.004458, allocations: 23.75 kB / 397.7 MB, free: 36 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.004638, allocations: 55.67 kB / 397.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.004727, allocations: 67.39 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.00522, allocations: 199.4 kB / 398 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.005468, allocations: 283.3 kB / 398.3 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.005593, allocations: 28.92 kB / 398.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005742, allocations: 163.5 kB / 398.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.005912, allocations: 95.72 kB / 398.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.005943, allocations: 16 kB / 398.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006054, allocations: 83.94 kB / 398.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.006131, allocations: 51.77 kB / 398.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.006193, allocations: 63.75 kB / 398.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.006486, allocations: 295 kB / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.00649, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.006493, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.006499, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.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.0006447/0.007143, allocations: 0.526 MB / 399.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.007185, allocations: 15.97 kB / 399.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.007226, allocations: 50.73 kB / 399.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.007282, allocations: 40.75 kB / 399.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.007675, allocations: 295 kB / 400 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.007791, allocations: 179.1 kB / 400.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.007826, allocations: 28.36 kB / 400.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.008128, allocations: 262.4 kB / 400.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.008137, allocations: 0 / 400.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.008153, allocations: 4 kB / 400.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.00816, allocations: 4 kB / 400.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.008331, allocations: 146.2 kB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.009188, allocations: 0.6632 MB / 401.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.009404, allocations: 128.2 kB / 401.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.009484, allocations: 98.53 kB / 401.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.009499, allocations: 4 kB / 401.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.009677, allocations: 166.8 kB / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.009678, allocations: 0 / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003863/0.01006, allocations: 372.1 kB / 402 MB, free: 11.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.01011, allocations: 81.11 kB / 402.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.0103, allocations: 296.3 kB / 402.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01032, allocations: 25.7 kB / 402.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01042, allocations: 184.3 kB / 402.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.01045, allocations: 51.59 kB / 402.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.01051, allocations: 57.88 kB / 402.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.01061, allocations: 342.8 kB / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.0107, allocations: 98.12 kB / 403.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.01082, allocations: 190.6 kB / 403.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.01103, allocations: 290.3 kB / 403.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01104, allocations: 0 / 403.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003157/0.01135, allocations: 380.1 kB / 404 MB, free: 9.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.01139, allocations: 45.72 kB / 404 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01139, allocations: 4 kB / 404 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01141, allocations: 4 kB / 404 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01155, allocations: 51.91 kB / 404.1 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01156, allocations: 4 kB / 404.1 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.01164, allocations: 23.83 kB / 404.1 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01165, allocations: 16 kB / 404.1 MB, free: 9.18 MB / 378.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,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.000123/0.01178, allocations: 191.4 kB / 404.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.0118, allocations: 31.81 kB / 404.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.01183, allocations: 34.17 kB / 404.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01184, allocations: 4 kB / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.01184, allocations: 0 / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01185, allocations: 0 / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.01263, allocations: 0.6226 MB / 405 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01264, allocations: 0 / 405 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01278, allocations: 43.91 kB / 405 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01278, allocations: 32 / 405 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0128, allocations: 8 kB / 405 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0128, allocations: 0 / 405 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.0128, allocations: 3.938 kB / 405 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.01318, allocations: 0.518 MB / 405.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.0132, allocations: 27.81 kB / 405.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.01322, allocations: 8.062 kB / 405.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.01329, allocations: 7.938 kB / 405.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.01332, allocations: 11.98 kB / 405.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01334, allocations: 7.938 kB / 405.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.01346, allocations: 195.1 kB / 405.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01346, allocations: 4 kB / 405.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.0137, allocations: 63.83 kB / 405.9 MB, free: 7.289 MB / 378.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.0006176/0.01431, allocations: 1.079 MB / 407 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.01459, allocations: 294.7 kB / 407.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01459, allocations: 0.8438 kB / 407.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.01468, allocations: 161 kB / 407.4 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01491, allocations: 31.75 kB / 407.4 MB, free: 5.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.0171, allocations: 2.996 MB / 410.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.01719, allocations: 150.9 kB / 410.6 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.01727, allocations: 26.28 kB / 410.6 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.01735, allocations: 84.47 kB / 410.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01735, allocations: 4 kB / 410.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.04041, allocations: 5.468 MB / 416.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.148, allocations: 8.594 kB / 416.2 MB, free: 12.88 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.960176058113575] Failed to read output from testmodel.py, exit status != 0: 7.232640706934035 7.241619931 7.233274872 Calling exit ...