Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001324/0.001324, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001325/0.001325, allocations: 177 kB / 23.36 MB, free: 1.129 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.9016/0.9016, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.03581/0.03581, allocations: 8.634 MB / 268.9 MB, free: 4.785 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.498e-05, allocations: 6.25 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.1008/0.1008, allocations: 2.153 MB / 290.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.1014, allocations: 467.3 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1016, allocations: 19.03 kB / 290.7 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1017, allocations: 68.16 kB / 290.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.1018, allocations: 33.28 kB / 290.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1023, allocations: 279.6 kB / 291.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.1026, allocations: 441.7 kB / 291.5 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1028, allocations: 68.09 kB / 291.6 MB, free: 18.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1029, allocations: 202.3 kB / 291.8 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1031, allocations: 133.6 kB / 291.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1031, allocations: 29.81 kB / 291.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.02e-05/0.1031, allocations: 30.28 kB / 291.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.1032, allocations: 131.6 kB / 292.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1033, allocations: 109.5 kB / 292.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1035, allocations: 277.5 kB / 292.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1035, allocations: 5.812 kB / 292.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1035, allocations: 0 / 292.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1035, allocations: 1.734 kB / 292.5 MB, free: 18.59 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0005687/0.1041, allocations: 0.6279 MB / 293.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1041, allocations: 10.03 kB / 293.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.1042, allocations: 66.41 kB / 293.2 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1045, allocations: 311.8 kB / 293.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1045, allocations: 29.44 kB / 293.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.1046, allocations: 40.88 kB / 293.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.1049, allocations: 346.9 kB / 293.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1049, allocations: 3.078 kB / 293.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.105, allocations: 15.94 kB / 293.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.105, allocations: 11.62 kB / 293.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1051, allocations: 125.5 kB / 294 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.1061, allocations: 1.421 MB / 295.5 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1063, allocations: 143.3 kB / 295.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.1063, allocations: 45.53 kB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1063, allocations: 4.047 kB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.1063, allocations: 41.45 kB / 295.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.1063, allocations: 0 / 295.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000209/0.1066, allocations: 132.2 kB / 295.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.1066, allocations: 55.81 kB / 295.9 MB, free: 16.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1068, allocations: 339.8 kB / 296.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1068, allocations: 29.7 kB / 296.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.1069, allocations: 237.9 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1069, allocations: 92.12 kB / 296.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.107, allocations: 80.7 kB / 296.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.107, allocations: 353 kB / 297 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.1071, allocations: 31.95 kB / 297 MB, free: 15.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.1071, allocations: 182.9 kB / 297.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1074, allocations: 307.5 kB / 297.5 MB, free: 15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1074, allocations: 1.75 kB / 297.5 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002393/0.1076, allocations: 242.2 kB / 297.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1076, allocations: 8.719 kB / 297.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1076, allocations: 5.078 kB / 297.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1076, allocations: 11.53 kB / 297.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1078, allocations: 88.94 kB / 297.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1078, allocations: 8.578 kB / 297.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.1079, allocations: 48.31 kB / 297.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1079, allocations: 15.78 kB / 297.9 MB, free: 14.88 MB / 266.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: 22 * Number of states: 0 () * Number of discrete variables: 8 (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 (51): * Single equations (assignments): 51 * 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.0001178/0.108, allocations: 162.7 kB / 298.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.1081, allocations: 28.89 kB / 298.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.1083, allocations: 155.9 kB / 298.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1083, allocations: 6.75 kB / 298.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1083, allocations: 8.781 kB / 298.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1083, allocations: 0.6094 kB / 298.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1084, allocations: 184 kB / 298.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1084, allocations: 1.875 kB / 298.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1086, allocations: 50.56 kB / 298.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1086, allocations: 9.234 kB / 298.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1086, allocations: 10.47 kB / 298.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1086, allocations: 1.531 kB / 298.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1086, allocations: 0.5156 kB / 298.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1088, allocations: 329.5 kB / 298.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.1089, allocations: 39.69 kB / 298.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1089, allocations: 4.734 kB / 298.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.1089, allocations: 10.44 kB / 298.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.109, allocations: 17.98 kB / 298.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.109, allocations: 6.984 kB / 298.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.003e-05/0.1091, allocations: 128.3 kB / 299 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1091, allocations: 1.375 kB / 299 MB, free: 14.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.1093, allocations: 72.88 kB / 299.1 MB, free: 14.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 7.155e-05/0.1093, allocations: 87.84 kB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1095, allocations: 159 kB / 299.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.1095, allocations: 4.688 kB / 299.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.1096, allocations: 60.72 kB / 299.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.1097, allocations: 41.67 kB / 299.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.1104, allocations: 0.7079 MB / 300.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.1105, allocations: 127.8 kB / 300.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.1105, allocations: 41.83 kB / 300.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.1106, allocations: 90.11 kB / 300.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1106, allocations: 7.375 kB / 300.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Templates: time 0.004223/0.1149, allocations: 2.219 MB / 302.6 MB, free: 12.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5506063592620194]