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.001395/0.001395, allocations: 77.83 kB / 20.66 MB, free: 3.82 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.001709/0.001709, allocations: 177 kB / 24.06 MB, free: 428 kB / 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 1.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.03814/0.03814, allocations: 8.623 MB / 269.6 MB, free: 4.754 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.313e-06/1.313e-06, allocations: 0 / 342.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.102e-05, allocations: 2.312 kB / 342.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002714/0.002735, allocations: 2.185 MB / 344.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004128, allocations: 1.009 MB / 345.3 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.004304, allocations: 23.75 kB / 345.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.004542, allocations: 87.28 kB / 345.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.004659, allocations: 79.42 kB / 345.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.005408, allocations: 395 kB / 345.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.00586, allocations: 0.5441 MB / 346.4 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.006001, allocations: 69.22 kB / 346.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.006234, allocations: 263.4 kB / 346.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.006471, allocations: 207.5 kB / 346.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.006518, allocations: 40 kB / 347 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.006663, allocations: 111.9 kB / 347.1 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.006791, allocations: 163.4 kB / 347.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.006897, allocations: 131.6 kB / 347.4 MB, free: 3.867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.007284, allocations: 426.5 kB / 347.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007287, allocations: 3.938 kB / 347.8 MB, free: 3.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007288, allocations: 3.938 kB / 347.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.007295, allocations: 0 / 347.8 MB, free: 3.441 MB / 314.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.0008448/0.008139, allocations: 0.8984 MB / 348.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.008171, allocations: 8.031 kB / 348.7 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.008274, allocations: 100.5 kB / 348.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.008664, allocations: 377 kB / 349.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.008697, allocations: 37.31 kB / 349.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.008749, allocations: 56.31 kB / 349.3 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.009153, allocations: 432.4 kB / 349.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.009174, allocations: 16.11 kB / 349.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.0092, allocations: 20.38 kB / 349.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.009211, allocations: 15.94 kB / 349.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.00943, allocations: 192.4 kB / 349.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01102, allocations: 2.098 MB / 352 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.01127, allocations: 176.6 kB / 352.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.01135, allocations: 101.9 kB / 352.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.01138, allocations: 12 kB / 352.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.01156, allocations: 205.3 kB / 352.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.534e-06/0.01157, allocations: 0 / 352.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004544/0.01202, allocations: 408 kB / 352.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.01206, allocations: 89.05 kB / 353 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01234, allocations: 482.2 kB / 353.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.01237, allocations: 29.7 kB / 353.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.01254, allocations: 362.9 kB / 353.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.01261, allocations: 142.8 kB / 354 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01272, allocations: 127.7 kB / 354.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01286, allocations: 0.5546 MB / 354.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.01295, allocations: 78.81 kB / 354.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.01314, allocations: 363.7 kB / 355.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.01355, allocations: 0.5923 MB / 355.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01355, allocations: 4 kB / 355.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004812/0.01403, allocations: 0.5134 MB / 356.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.01407, allocations: 43.41 kB / 356.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01408, allocations: 4 kB / 356.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.0141, allocations: 8 kB / 356.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.01438, allocations: 132.4 kB / 356.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01439, allocations: 12 kB / 356.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.01452, allocations: 67.52 kB / 356.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.01454, allocations: 20 kB / 356.5 MB, free: 10.09 MB / 330.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.0002/0.01474, allocations: 277.2 kB / 356.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.01479, allocations: 59.72 kB / 356.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.01515, allocations: 376 kB / 357.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01516, allocations: 7.984 kB / 357.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01516, allocations: 0 / 357.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01516, allocations: 4 kB / 357.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.01541, allocations: 280.8 kB / 357.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01541, allocations: 3.938 kB / 357.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.01567, allocations: 79.89 kB / 357.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.01568, allocations: 4 kB / 357.6 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.0157, allocations: 12 kB / 357.6 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.0157, allocations: 3.984 kB / 357.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01571, allocations: 0 / 357.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.01618, allocations: 0.5357 MB / 358.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.01621, allocations: 43.64 kB / 358.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.01625, allocations: 16 kB / 358.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.01633, allocations: 8 kB / 358.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.01638, allocations: 19.95 kB / 358.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.0164, allocations: 15.98 kB / 358.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.01653, allocations: 271 kB / 358.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01653, allocations: 0 / 358.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.01682, allocations: 127.7 kB / 358.6 MB, free: 7.879 MB / 330.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.0001671/0.01699, allocations: 150 kB / 358.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.01731, allocations: 381.4 kB / 359.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01732, allocations: 0 / 359.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01745, allocations: 208.5 kB / 359.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01769, allocations: 65.45 kB / 359.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.01862, allocations: 0.9682 MB / 360.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.386e-05/0.0187, allocations: 149.7 kB / 360.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.01881, allocations: 52.16 kB / 360.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.01895, allocations: 146.2 kB / 360.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01895, allocations: 4 kB / 360.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of Templates: time 0.006514/0.02547, allocations: 4.04 MB / 364.7 MB, free: 1.652 MB / 330.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: 3.052067401818931]