Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001611/0.001611, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.06629/0.06629, allocations: 8.61 MB / 268.2 MB, free: 4.914 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 340.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.933e-05, allocations: 6.25 kB / 340.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002421/0.00244, allocations: 2.162 MB / 342.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003581, allocations: 0.6948 MB / 343 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.003774, allocations: 27.69 kB / 343 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.003972, allocations: 67.33 kB / 343.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.004165, allocations: 51.47 kB / 343.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.004905, allocations: 407 kB / 343.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.005354, allocations: 0.5359 MB / 344.1 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.005495, allocations: 69.22 kB / 344.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.005771, allocations: 279.3 kB / 344.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.005975, allocations: 159.5 kB / 344.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.006034, allocations: 39.94 kB / 344.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.006079, allocations: 32 kB / 344.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.006194, allocations: 147.5 kB / 344.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.006294, allocations: 127.5 kB / 344.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.006614, allocations: 434.4 kB / 345.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006617, allocations: 7.984 kB / 345.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006618, allocations: 4 kB / 345.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.006625, allocations: 0 / 345.3 MB, free: 3.484 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001174/0.007799, allocations: 0.7348 MB / 346.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.007832, allocations: 12.03 kB / 346.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.007965, allocations: 92.56 kB / 346.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.008445, allocations: 406.1 kB / 346.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.008501, allocations: 84.97 kB / 346.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.008567, allocations: 44.38 kB / 346.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.009184, allocations: 0.4967 MB / 347.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.009207, allocations: 8.141 kB / 347.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.009244, allocations: 16.38 kB / 347.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.009253, allocations: 16.12 kB / 347.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.00979, allocations: 371.6 kB / 347.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.01237, allocations: 1.867 MB / 349.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.01332, allocations: 275.3 kB / 349.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.01364, allocations: 170.2 kB / 349.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.01368, allocations: 8.219 kB / 349.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01371, allocations: 38.84 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.687e-06/0.01372, allocations: 3.984 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001011/0.01473, allocations: 461.8 kB / 350.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.01478, allocations: 55.41 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.01528, allocations: 397.8 kB / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.01532, allocations: 33.7 kB / 350.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.01558, allocations: 276.4 kB / 351.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.01571, allocations: 130.9 kB / 351.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.01587, allocations: 98.14 kB / 351.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.0161, allocations: 358.8 kB / 351.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.01639, allocations: 133.1 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.01683, allocations: 282.9 kB / 352.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.01941, allocations: 0.828 MB / 353 MB, free: 11.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.01942, allocations: 4 kB / 353 MB, free: 11.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001061/0.02048, allocations: 0.5632 MB / 353.5 MB, free: 10.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.0205, allocations: 10.78 kB / 353.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.02051, allocations: 4 kB / 353.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.02054, allocations: 12 kB / 353.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.02113, allocations: 123.8 kB / 353.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.02115, allocations: 15.88 kB / 353.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.0214, allocations: 55.61 kB / 353.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.02144, allocations: 24 kB / 353.8 MB, free: 10.68 MB / 282.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: 20 * Number of states: 0 () * Number of discrete variables: 8 (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 (65): * Single equations (assignments): 65 * 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.0003053/0.02174, allocations: 206.9 kB / 354 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.02185, allocations: 59.66 kB / 354 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.02297, allocations: 405.4 kB / 354.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02298, allocations: 4 kB / 354.4 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.02298, allocations: 0 / 354.4 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02299, allocations: 3.984 kB / 354.4 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.02351, allocations: 333 kB / 354.8 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02351, allocations: 4 kB / 354.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.02413, allocations: 103.8 kB / 354.9 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.02414, allocations: 3.938 kB / 354.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.02418, allocations: 16 kB / 354.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.02419, allocations: 7.938 kB / 354.9 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02419, allocations: 0 / 354.9 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.02533, allocations: 0.6257 MB / 355.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.02539, allocations: 43.59 kB / 355.6 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.02545, allocations: 19.92 kB / 355.6 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.02565, allocations: 11.98 kB / 355.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.02573, allocations: 27.95 kB / 355.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.02575, allocations: 4 kB / 355.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.02609, allocations: 271.1 kB / 355.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02609, allocations: 0 / 355.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.0265, allocations: 83.84 kB / 356 MB, free: 8.414 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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 0.0001582/0.02666, allocations: 109.2 kB / 356.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.02743, allocations: 360.2 kB / 356.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02743, allocations: 0 / 356.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.02775, allocations: 167.5 kB / 356.6 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.02815, allocations: 48.58 kB / 356.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.02982, allocations: 0.9266 MB / 357.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.03015, allocations: 268.5 kB / 357.8 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.03039, allocations: 87.3 kB / 357.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.03051, allocations: 36.48 kB / 358 MB, free: 6.367 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03051, allocations: 0 / 358 MB, free: 6.367 MB / 282.7 MB Notification: Performance of Templates: time 0.007827/0.03833, allocations: 2.625 MB / 360.6 MB, free: 3.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.491428324021399]