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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 105.1 kB / 18.19 MB, free: 3.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00263/0.00263, allocations: 188.4 kB / 21.34 MB, free: 0.8555 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06383/0.06383, allocations: 11.35 MB / 316.4 MB, free: 436 kB / 238.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 441.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 54.82 MB / 495.9 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003623/0.336, allocations: 2.249 MB / 498.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.338, allocations: 1.045 MB / 499.2 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.3382, allocations: 18.66 kB / 499.2 MB, free: 22.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.3386, allocations: 85.16 kB / 499.3 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3387, allocations: 65.41 kB / 499.3 MB, free: 22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.3402, allocations: 347.8 kB / 499.7 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3417, allocations: 0.5947 MB / 0.4885 GB, free: 21.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3419, allocations: 69.64 kB / 0.4886 GB, free: 21.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.3421, allocations: 205.5 kB / 0.4888 GB, free: 21.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.3424, allocations: 258.5 kB / 0.4891 GB, free: 21.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.3425, allocations: 35.62 kB / 0.4891 GB, free: 21.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3427, allocations: 113.3 kB / 0.4892 GB, free: 21.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3429, allocations: 161.5 kB / 0.4893 GB, free: 20.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3431, allocations: 232.9 kB / 0.4896 GB, free: 20.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.3436, allocations: 0.5314 MB / 0.4901 GB, free: 20.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3436, allocations: 1.969 kB / 0.4901 GB, free: 20.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3436, allocations: 0 / 0.4901 GB, free: 20.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3436, allocations: 0 / 0.4901 GB, free: 20.39 MB / 366.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.001389/0.345, allocations: 0.8885 MB / 0.491 GB, free: 19.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3451, allocations: 13.92 kB / 0.491 GB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.3452, allocations: 70.39 kB / 0.491 GB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.3458, allocations: 445 kB / 0.4915 GB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.3459, allocations: 32.25 kB / 0.4915 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.3459, allocations: 49.61 kB / 0.4915 GB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.3468, allocations: 0.5515 MB / 0.4921 GB, free: 18.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.3468, allocations: 12.3 kB / 0.4921 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.3468, allocations: 20.09 kB / 0.4921 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3468, allocations: 14.78 kB / 0.4921 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.3475, allocations: 409.9 kB / 0.4925 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.3502, allocations: 2.157 MB / 0.4946 GB, free: 16.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.3507, allocations: 256.4 kB / 0.4949 GB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.351, allocations: 160.9 kB / 0.495 GB, free: 16.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.351, allocations: 11.56 kB / 0.495 GB, free: 16.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.3514, allocations: 262.5 kB / 0.4953 GB, free: 16.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.3514, allocations: 0 / 0.4953 GB, free: 16.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009883/0.3524, allocations: 0.5719 MB / 0.4958 GB, free: 16.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3524, allocations: 94.94 kB / 0.4959 GB, free: 16.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3529, allocations: 0.502 MB / 0.4964 GB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.353, allocations: 31.98 kB / 0.4965 GB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3531, allocations: 304.7 kB / 0.4967 GB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.3532, allocations: 144.5 kB / 0.4969 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3534, allocations: 111.8 kB / 0.497 GB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.3535, allocations: 366.5 kB / 0.4973 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3537, allocations: 168.4 kB / 0.4975 GB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3541, allocations: 362.6 kB / 0.4978 GB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.3561, allocations: 1.11 MB / 0.4989 GB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3561, allocations: 2.969 kB / 0.4989 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001126/0.3572, allocations: 0.7524 MB / 0.4997 GB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.3573, allocations: 39.3 kB / 0.4997 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3573, allocations: 14.67 kB / 0.4997 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.3573, allocations: 8.125 kB / 0.4997 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.3578, allocations: 138.9 kB / 0.4999 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.3578, allocations: 17.55 kB / 0.4999 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.3581, allocations: 69.91 kB / 0.4999 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.3582, allocations: 30 kB / 0.5 GB, free: 13.23 MB / 366.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.0003597/0.3585, allocations: 273.6 kB / 0.5002 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.3586, allocations: 52.42 kB / 0.5003 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/0.3595, allocations: 0.5333 MB / 0.5008 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3595, allocations: 6.469 kB / 0.5008 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3595, allocations: 5.188 kB / 0.5008 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3595, allocations: 0 / 0.5008 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.36, allocations: 483.5 kB / 0.5013 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.36, allocations: 0 / 0.5013 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.3604, allocations: 84.08 kB / 0.5014 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3604, allocations: 5.109 kB / 0.5014 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3605, allocations: 15.84 kB / 0.5014 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3605, allocations: 6.938 kB / 0.5014 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3605, allocations: 0 / 0.5014 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3615, allocations: 0.719 MB / 0.5021 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.3616, allocations: 136.6 kB / 0.5022 GB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.3617, allocations: 12.31 kB / 0.5022 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3618, allocations: 20.05 kB / 0.5022 GB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.3619, allocations: 25.06 kB / 0.5023 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.3619, allocations: 17.33 kB / 0.5023 GB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.3623, allocations: 345.9 kB / 0.5026 GB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 4 kB / 0.5026 GB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.3628, allocations: 120.8 kB / 0.5027 GB, free: 11.45 MB / 366.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.0002174/0.3631, allocations: 144.3 kB / 0.5029 GB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.3639, allocations: 0.5142 MB / 0.5034 GB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3639, allocations: 0 / 0.5034 GB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.3642, allocations: 239.6 kB / 0.5036 GB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3646, allocations: 58.52 kB / 0.5037 GB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3664, allocations: 1.189 MB / 0.5048 GB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.3668, allocations: 0.8931 MB / 0.5057 GB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3669, allocations: 42.45 kB / 0.5057 GB, free: 9.328 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3669, allocations: 0 / 0.5057 GB, free: 9.328 MB / 366.1 MB Notification: Performance of Templates: time 0.008379/0.3753, allocations: 6.181 MB / 0.5118 GB, free: 3.426 MB / 366.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]