Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001362/0.001362, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001484/0.001484, allocations: 166.2 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.493/1.493, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.06332/0.06332, allocations: 8.606 MB / 267.8 MB, free: 8.559 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.456e-05, allocations: 2.281 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.004866/0.0049, allocations: 2.146 MB / 397.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.00743, allocations: 0.9895 MB / 398.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.007744, allocations: 27.75 kB / 398.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.008169, allocations: 95.33 kB / 398.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.00845, allocations: 67.44 kB / 398.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.009872, allocations: 399 kB / 399.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.01078, allocations: 0.5519 MB / 399.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.01104, allocations: 65.19 kB / 399.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.01159, allocations: 259.4 kB / 400.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.01206, allocations: 219.4 kB / 400.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.01219, allocations: 36 kB / 400.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.01245, allocations: 99.94 kB / 400.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.01268, allocations: 167.4 kB / 400.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.01292, allocations: 131.6 kB / 400.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009479/0.01387, allocations: 0.545 MB / 401.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01387, allocations: 4 kB / 401.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01388, allocations: 0 / 401.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.0139, allocations: 0 / 401.3 MB, free: 0.8672 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001896/0.01579, allocations: 0.8103 MB / 402.1 MB, free: 20 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.01584, allocations: 8.031 kB / 402.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.01603, allocations: 68.12 kB / 402.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.01684, allocations: 390 kB / 402.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.01689, allocations: 29.38 kB / 402.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.017, allocations: 48.38 kB / 402.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.01816, allocations: 0.5764 MB / 403.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.0182, allocations: 8.141 kB / 403.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.01826, allocations: 20.69 kB / 403.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.01827, allocations: 19.98 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008874/0.01916, allocations: 445.3 kB / 403.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.02285, allocations: 1.967 MB / 405.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.02351, allocations: 280.1 kB / 406 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.02383, allocations: 194.5 kB / 406.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.02386, allocations: 4 kB / 406.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.02435, allocations: 295.3 kB / 406.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.875e-06/0.02436, allocations: 0 / 406.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001229/0.02559, allocations: 0.6484 MB / 407.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.02566, allocations: 85.11 kB / 407.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.0263, allocations: 473.6 kB / 407.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.02635, allocations: 33.7 kB / 407.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.02673, allocations: 308.2 kB / 408 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.02691, allocations: 134.9 kB / 408.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.02713, allocations: 114.1 kB / 408.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002692/0.0274, allocations: 374.7 kB / 408.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.02778, allocations: 202.7 kB / 408.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.02834, allocations: 391.4 kB / 409.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.03087, allocations: 1.109 MB / 410.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.03088, allocations: 11.94 kB / 410.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001407/0.03229, allocations: 0.7911 MB / 411.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.03235, allocations: 41.69 kB / 411.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.03237, allocations: 8 kB / 411.1 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.0324, allocations: 8 kB / 411.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.03295, allocations: 135.8 kB / 411.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.03297, allocations: 15.92 kB / 411.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.0333, allocations: 63.55 kB / 411.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.03336, allocations: 31.98 kB / 411.4 MB, free: 6.266 MB / 334.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * 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.0006323/0.03399, allocations: 284.3 kB / 411.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.0341, allocations: 51.67 kB / 411.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.03523, allocations: 0.5505 MB / 412.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.03523, allocations: 4 kB / 412.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.03524, allocations: 0 / 412.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.03525, allocations: 0 / 412.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.03587, allocations: 376.8 kB / 412.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03588, allocations: 0 / 412.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.03641, allocations: 87.88 kB / 412.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.03642, allocations: 0 / 412.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.03656, allocations: 19.98 kB / 412.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.03656, allocations: 4 kB / 412.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.03656, allocations: 0 / 412.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.03797, allocations: 0.7777 MB / 413.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.03809, allocations: 51.59 kB / 413.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.03817, allocations: 12 kB / 413.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.03834, allocations: 15.98 kB / 413.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.03843, allocations: 27.95 kB / 413.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.03848, allocations: 15.98 kB / 413.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004169/0.03889, allocations: 303.1 kB / 413.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03889, allocations: 0 / 413.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000611/0.0395, allocations: 123.8 kB / 414.1 MB, free: 3.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0003871/0.03989, allocations: 151 kB / 414.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.04127, allocations: 0.5849 MB / 414.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.04128, allocations: 0 / 414.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.04175, allocations: 276.9 kB / 415.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.04227, allocations: 49.89 kB / 415.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.04503, allocations: 1.074 MB / 416.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.04543, allocations: 292.5 kB / 416.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.04575, allocations: 100.1 kB / 416.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.04587, allocations: 36.5 kB / 416.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of SimCode: time 1.303e-06/0.04587, allocations: 0 / 416.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Templates: time 0.01179/0.05766, allocations: 3.671 MB / 420.3 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521035399287939] Failed to read output from testmodel.py, exit status != 0: 0.0688202865421772 0.089518575 0.071820881 Calling exit ...