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.0008173/0.0008173, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0008734/0.0008734, allocations: 173 kB / 23.36 MB, free: 0.9727 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.901/0.901, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03502/0.03502, allocations: 8.623 MB / 268.9 MB, free: 4.793 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.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 1.283e-06/1.283e-06, allocations: 3.938 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.327e-06/1.061e-05, allocations: 6.25 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.09484/0.09485, allocations: 2.182 MB / 290.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09615, allocations: 1.038 MB / 291.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.09628, allocations: 23.12 kB / 291.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.09651, allocations: 86.64 kB / 291.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.0966, allocations: 77.08 kB / 291.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.09735, allocations: 397.8 kB / 291.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.09777, allocations: 0.5444 MB / 292.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.09789, allocations: 64.8 kB / 292.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.09812, allocations: 263.9 kB / 292.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.09834, allocations: 201.5 kB / 292.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.09839, allocations: 36.91 kB / 293 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.09852, allocations: 103 kB / 293.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.09863, allocations: 167 kB / 293.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.09873, allocations: 137.6 kB / 293.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.09908, allocations: 431.8 kB / 293.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.09908, allocations: 1.438 kB / 293.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09908, allocations: 0 / 293.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.09909, allocations: 1.156 kB / 293.8 MB, free: 17.79 MB / 266.7 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.0007228/0.09981, allocations: 0.7649 MB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.09984, allocations: 9.656 kB / 294.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.09993, allocations: 71.78 kB / 294.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1003, allocations: 359.6 kB / 295 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1003, allocations: 37.03 kB / 295 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1003, allocations: 47.94 kB / 295.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.1007, allocations: 427.5 kB / 295.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1007, allocations: 11.09 kB / 295.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.1007, allocations: 19.03 kB / 295.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1008, allocations: 14.09 kB / 295.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.101, allocations: 186.3 kB / 295.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1022, allocations: 1.569 MB / 297.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1024, allocations: 212.9 kB / 297.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.1025, allocations: 91.02 kB / 297.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1025, allocations: 7.906 kB / 297.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1026, allocations: 199.9 kB / 297.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.1026, allocations: 0.9062 kB / 297.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0002944/0.1029, allocations: 314.8 kB / 298.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.103, allocations: 83.62 kB / 298.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1032, allocations: 399.8 kB / 298.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1032, allocations: 32.23 kB / 298.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.1033, allocations: 256.9 kB / 298.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.1033, allocations: 140 kB / 299 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.1034, allocations: 114.8 kB / 299.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.1035, allocations: 371.6 kB / 299.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1035, allocations: 88.14 kB / 299.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1036, allocations: 280.2 kB / 299.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.104, allocations: 0.5328 MB / 300.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.104, allocations: 1.438 kB / 300.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003614/0.1044, allocations: 407.5 kB / 300.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1044, allocations: 43.45 kB / 300.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1044, allocations: 6.688 kB / 300.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1044, allocations: 12.12 kB / 300.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1047, allocations: 125.6 kB / 300.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1047, allocations: 15.27 kB / 300.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1048, allocations: 59.53 kB / 301 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1048, allocations: 21.56 kB / 301 MB, free: 13.02 MB / 266.7 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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_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.0001595/0.105, allocations: 237.6 kB / 301.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.105, allocations: 41.03 kB / 301.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.1053, allocations: 288.5 kB / 301.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1053, allocations: 4.969 kB / 301.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1053, allocations: 0 / 301.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1053, allocations: 5.734 kB / 301.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1055, allocations: 230.7 kB / 301.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1055, allocations: 3.938 kB / 301.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1057, allocations: 75.47 kB / 301.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1057, allocations: 1.438 kB / 301.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.1058, allocations: 14.62 kB / 301.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1058, allocations: 1.422 kB / 301.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1058, allocations: 1.438 kB / 301.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1061, allocations: 440.4 kB / 302.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1061, allocations: 56.36 kB / 302.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.1062, allocations: 14.12 kB / 302.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.1062, allocations: 9.422 kB / 302.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1063, allocations: 24.25 kB / 302.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1063, allocations: 8.875 kB / 302.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1064, allocations: 157.5 kB / 302.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1064, allocations: 0 / 302.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.1066, allocations: 121.2 kB / 302.7 MB, free: 12.17 MB / 266.7 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.000129/0.1068, allocations: 130.6 kB / 302.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.107, allocations: 371.1 kB / 303.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.107, allocations: 5.5 kB / 303.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1071, allocations: 192.4 kB / 303.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1073, allocations: 57.77 kB / 303.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.108, allocations: 0.9884 MB / 304.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.787e-05/0.1081, allocations: 153 kB / 304.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.1082, allocations: 53.75 kB / 304.6 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1083, allocations: 120.5 kB / 304.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1083, allocations: 0 / 304.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of Templates: time 0.005447/0.1138, allocations: 3.912 MB / 308.7 MB, free: 8.125 MB / 266.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5377328800968826]