Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.00102/0.00102, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001028/0.001028, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.022/1.022, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.03758/0.03758, allocations: 8.608 MB / 268.9 MB, free: 4.766 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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.332e-05, allocations: 6.312 kB / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.001934/0.001948, allocations: 2.212 MB / 343.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.002723, allocations: 0.57 MB / 344.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.002867, allocations: 23.75 kB / 344.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.003042, allocations: 63.33 kB / 344.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.003122, allocations: 43.48 kB / 344.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.003689, allocations: 347.2 kB / 344.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.004002, allocations: 0.4969 MB / 345.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004127, allocations: 69.22 kB / 345.1 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.004277, allocations: 219.5 kB / 345.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.004417, allocations: 159.5 kB / 345.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.004455, allocations: 32 kB / 345.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.004486, allocations: 35.94 kB / 345.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.004556, allocations: 139.5 kB / 345.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.004615, allocations: 111.6 kB / 345.8 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.004807, allocations: 310.6 kB / 346.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004809, allocations: 0 / 346.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004809, allocations: 0 / 346.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.004814, allocations: 0 / 346.1 MB, free: 3.289 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.0005852/0.005399, allocations: 0.7724 MB / 346.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005433, allocations: 12.03 kB / 346.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.005503, allocations: 84.61 kB / 347 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.005761, allocations: 350.7 kB / 347.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.005785, allocations: 29.38 kB / 347.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.005829, allocations: 48.31 kB / 347.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.006202, allocations: 386.7 kB / 347.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.006226, allocations: 4.188 kB / 347.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.006258, allocations: 20.38 kB / 347.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.006272, allocations: 8.375 kB / 347.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.006495, allocations: 150.7 kB / 348 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.007709, allocations: 1.974 MB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.008021, allocations: 155 kB / 350.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.008079, allocations: 55.59 kB / 350.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.008103, allocations: 4 kB / 350.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.008123, allocations: 37.38 kB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.008125, allocations: 0 / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.000277/0.008401, allocations: 210.4 kB / 350.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.00843, allocations: 59.34 kB / 350.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.008679, allocations: 414.2 kB / 350.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.008697, allocations: 33.7 kB / 350.9 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.008856, allocations: 335 kB / 351.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.00891, allocations: 107.1 kB / 351.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.008996, allocations: 103.7 kB / 351.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.009134, allocations: 0.5312 MB / 351.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.009183, allocations: 40.91 kB / 352 MB, free: 13.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.009334, allocations: 273.6 kB / 352.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.009633, allocations: 409 kB / 352.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.009637, allocations: 7.938 kB / 352.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000307/0.009944, allocations: 348.5 kB / 353 MB, free: 11.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.009957, allocations: 8 kB / 353 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.009964, allocations: 4 kB / 353 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009978, allocations: 8 kB / 353 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.01019, allocations: 108.5 kB / 353.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.0102, allocations: 19.92 kB / 353.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.0103, allocations: 47.62 kB / 353.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01031, allocations: 20 kB / 353.2 MB, free: 11.69 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0001525/0.01047, allocations: 206.2 kB / 353.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.01051, allocations: 51.72 kB / 353.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.01076, allocations: 230 kB / 353.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01077, allocations: 4 kB / 353.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01077, allocations: 0 / 353.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01077, allocations: 0 / 353.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.011, allocations: 244.9 kB / 353.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.011, allocations: 0 / 353.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01121, allocations: 75.88 kB / 354 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01121, allocations: 0 / 354 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01123, allocations: 12 kB / 354 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.01123, allocations: 8 kB / 354 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01123, allocations: 3.984 kB / 354 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.01154, allocations: 408.6 kB / 354.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.01156, allocations: 43.66 kB / 354.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01159, allocations: 12 kB / 354.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.01165, allocations: 8 kB / 354.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.01169, allocations: 15.95 kB / 354.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.0117, allocations: 11.94 kB / 354.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01182, allocations: 247 kB / 354.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 354.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.01207, allocations: 83.78 kB / 354.8 MB, free: 9.996 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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 9.122e-05/0.01216, allocations: 107.2 kB / 354.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01238, allocations: 196.3 kB / 355.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01238, allocations: 0 / 355.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.01246, allocations: 84.02 kB / 355.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01269, allocations: 48.58 kB / 355.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.01348, allocations: 0.7852 MB / 356 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.01356, allocations: 133.2 kB / 356.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.474e-05/0.01365, allocations: 43.27 kB / 356.2 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01376, allocations: 118.2 kB / 356.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01376, allocations: 4 kB / 356.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of Templates: time 0.004979/0.01874, allocations: 2.529 MB / 358.9 MB, free: 5.914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.67553174495697]