Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.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.0008926/0.0008926, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008239/0.0008239, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.882/0.882, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.03337/0.03337, allocations: 8.593 MB / 268.5 MB, free: 5.121 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.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 396.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.144e-05, allocations: 2.281 kB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002361/0.002383, allocations: 2.166 MB / 398.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.003325, allocations: 0.6946 MB / 399.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.003475, allocations: 27.69 kB / 399.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.00366, allocations: 67.31 kB / 399.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.003825, allocations: 55.42 kB / 399.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.004368, allocations: 403.1 kB / 399.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.004763, allocations: 0.5359 MB / 400.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.004912, allocations: 73.17 kB / 400.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.005121, allocations: 275.4 kB / 400.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005315, allocations: 167.5 kB / 400.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.005358, allocations: 32 kB / 400.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.229e-05/0.00539, allocations: 39.94 kB / 400.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.00549, allocations: 139.5 kB / 401 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.00559, allocations: 127.5 kB / 401.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.005929, allocations: 438.5 kB / 401.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005931, allocations: 3.938 kB / 401.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005932, allocations: 0 / 401.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.005938, allocations: 3.938 kB / 401.5 MB, free: 12.94 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008566/0.006795, allocations: 0.7465 MB / 402.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.006832, allocations: 8.031 kB / 402.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.006905, allocations: 64.55 kB / 402.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.007314, allocations: 374.2 kB / 402.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.007382, allocations: 80.97 kB / 402.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.007436, allocations: 48.33 kB / 402.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.007934, allocations: 0.4966 MB / 403.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.007953, allocations: 8.172 kB / 403.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.007982, allocations: 20.38 kB / 403.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.007993, allocations: 16.12 kB / 403.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.008412, allocations: 367.6 kB / 403.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.01046, allocations: 1.87 MB / 405.6 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.01098, allocations: 277.3 kB / 405.9 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.01114, allocations: 170.1 kB / 406.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.01117, allocations: 12.2 kB / 406.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.01119, allocations: 42.84 kB / 406.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.01119, allocations: 0 / 406.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005133/0.0117, allocations: 441.8 kB / 406.5 MB, free: 7.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.01174, allocations: 59.39 kB / 406.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.01201, allocations: 401.8 kB / 407 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.01203, allocations: 29.7 kB / 407 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01217, allocations: 276.4 kB / 407.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.01224, allocations: 130.9 kB / 407.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.01232, allocations: 94.17 kB / 407.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01242, allocations: 362.8 kB / 407.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.01257, allocations: 129.1 kB / 408 MB, free: 6.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.01278, allocations: 279 kB / 408.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.01402, allocations: 0.8396 MB / 409.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01402, allocations: 0 / 409.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005249/0.01455, allocations: 0.5436 MB / 409.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01456, allocations: 4 kB / 409.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.01457, allocations: 8 kB / 409.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01458, allocations: 4 kB / 409.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.01484, allocations: 124.4 kB / 409.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.01486, allocations: 11.98 kB / 409.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.01497, allocations: 55.66 kB / 409.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01499, allocations: 23.94 kB / 409.9 MB, free: 4.211 MB / 378.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0002057/0.01519, allocations: 211.5 kB / 410.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.01523, allocations: 47.66 kB / 410.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.01569, allocations: 401.6 kB / 410.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01569, allocations: 4 kB / 410.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.0157, allocations: 7.984 kB / 410.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.0157, allocations: 0 / 410.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.01598, allocations: 356.7 kB / 410.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01598, allocations: 0 / 410.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.01628, allocations: 95.88 kB / 411 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01628, allocations: 3.938 kB / 411 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.0163, allocations: 15.98 kB / 411 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.0163, allocations: 0 / 411 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0163, allocations: 4 kB / 411 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.01686, allocations: 0.6101 MB / 411.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.0169, allocations: 51.59 kB / 411.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.01693, allocations: 11.94 kB / 411.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.017, allocations: 11.98 kB / 411.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.01706, allocations: 27.95 kB / 411.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01708, allocations: 11.98 kB / 411.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.01724, allocations: 267.1 kB / 412 MB, free: 2.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01724, allocations: 0 / 412 MB, free: 2.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.01747, allocations: 83.84 kB / 412.1 MB, free: 1.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 9.32e-05/0.01757, allocations: 119.1 kB / 412.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.01796, allocations: 356.4 kB / 412.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01796, allocations: 0 / 412.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.01812, allocations: 171.6 kB / 412.7 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01837, allocations: 44.89 kB / 412.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.0193, allocations: 0.9479 MB / 413.7 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.01947, allocations: 268.2 kB / 413.9 MB, free: 8 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.01956, allocations: 36.55 kB / 414 MB, free: 15.96 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01956, allocations: 0 / 414 MB, free: 15.96 MB / 394.7 MB Notification: Performance of Templates: time 0.005022/0.02458, allocations: 5.39 MB / 419.4 MB, free: 10.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.443629590794444] Failed to read output from testmodel.py, exit status != 0: 0.029606430791318417 0.037910701000000005 0.030353343 Calling exit ...