Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001295/0.001295, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001532/0.001532, allocations: 164.1 kB / 22.46 MB, free: 5.375 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.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.06272/0.06272, allocations: 8.607 MB / 267.8 MB, free: 8.574 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: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.046e-05, allocations: 6.281 kB / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.004187/0.004228, allocations: 2.104 MB / 397.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.005658, allocations: 0.5308 MB / 398.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.005889, allocations: 19.81 kB / 398.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.006195, allocations: 63.31 kB / 398.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.006341, allocations: 43.55 kB / 398.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.007414, allocations: 319.4 kB / 398.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.008153, allocations: 483.7 kB / 399.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.008393, allocations: 77.11 kB / 399.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.0087, allocations: 223.5 kB / 399.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.008976, allocations: 147.5 kB / 399.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.009047, allocations: 35.94 kB / 399.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.009108, allocations: 32 kB / 399.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.009284, allocations: 131.5 kB / 399.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.009438, allocations: 111.6 kB / 399.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.009978, allocations: 390.6 kB / 400.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.009984, allocations: 4 kB / 400.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.009986, allocations: 0 / 400.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.009995, allocations: 0 / 400.2 MB, free: 1.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001584/0.01158, allocations: 0.6921 MB / 400.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.01163, allocations: 16.03 kB / 400.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01175, allocations: 56.56 kB / 401 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.01238, allocations: 328 kB / 401.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.01248, allocations: 80.97 kB / 401.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.01256, allocations: 40.33 kB / 401.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.01336, allocations: 479.9 kB / 401.9 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.01339, allocations: 12.11 kB / 401.9 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.01343, allocations: 16.38 kB / 401.9 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.01345, allocations: 16.11 kB / 402 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.01407, allocations: 322.3 kB / 402.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.01697, allocations: 1.775 MB / 404 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.01746, allocations: 184.2 kB / 404.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.01767, allocations: 112.8 kB / 404.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.01771, allocations: 8 kB / 404.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.01774, allocations: 34.55 kB / 404.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.01774, allocations: 0 / 404.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007567/0.0185, allocations: 337.5 kB / 404.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.01856, allocations: 63.28 kB / 404.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.01899, allocations: 377.4 kB / 405.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.01902, allocations: 33.7 kB / 405.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.01925, allocations: 272 kB / 405.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.01935, allocations: 95.22 kB / 405.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.01948, allocations: 94 kB / 405.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01967, allocations: 346.8 kB / 406 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.01991, allocations: 104.8 kB / 406.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.02029, allocations: 258.5 kB / 406.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.02207, allocations: 0.6654 MB / 407 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.02209, allocations: 7.938 kB / 407 MB, free: 10.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008929/0.02298, allocations: 488.9 kB / 407.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.023, allocations: 8 kB / 407.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.02301, allocations: 4 kB / 407.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.02304, allocations: 8 kB / 407.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.02351, allocations: 107.8 kB / 407.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.02353, allocations: 8.5 kB / 407.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.02374, allocations: 51.72 kB / 407.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.02378, allocations: 20 kB / 407.7 MB, free: 10.16 MB / 334.1 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: 22 * 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 (54): * Single equations (assignments): 54 * 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.0003501/0.02413, allocations: 199.6 kB / 407.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.02422, allocations: 39.7 kB / 407.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.02491, allocations: 304.8 kB / 408.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.02492, allocations: 4 kB / 408.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.02492, allocations: 0 / 408.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02493, allocations: 0 / 408.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.0254, allocations: 305 kB / 408.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0254, allocations: 0 / 408.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.02584, allocations: 67.95 kB / 408.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.02584, allocations: 0 / 408.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.02587, allocations: 15.92 kB / 408.6 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.02588, allocations: 4 kB / 408.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02588, allocations: 0 / 408.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008009/0.02668, allocations: 493.7 kB / 409.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.02674, allocations: 35.69 kB / 409.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.02679, allocations: 15.98 kB / 409.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.02694, allocations: 19.92 kB / 409.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.02702, allocations: 19.97 kB / 409.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.02704, allocations: 4 kB / 409.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.02733, allocations: 251.2 kB / 409.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02733, allocations: 0 / 409.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.02775, allocations: 75.78 kB / 409.5 MB, free: 8.285 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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 0.0001597/0.02791, allocations: 115.1 kB / 409.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.02852, allocations: 296 kB / 409.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02852, allocations: 4 kB / 409.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.02873, allocations: 111.9 kB / 410 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.02914, allocations: 40.7 kB / 410 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.03069, allocations: 0.7961 MB / 410.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.03099, allocations: 241.1 kB / 411.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.0312, allocations: 71.22 kB / 411.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.03129, allocations: 32.5 kB / 411.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.03129, allocations: 0 / 411.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of Templates: time 0.007344/0.03863, allocations: 2.175 MB / 413.3 MB, free: 4.387 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.415435709059238] Failed to read output from testmodel.py, exit status != 0: 0.0492265485227108 0.06741605799999995 0.05373706199999994 Calling exit ...