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.001426/0.001426, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.00172/0.00172, allocations: 173 kB / 23.28 MB, free: 1.219 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.015/1.015, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.03673/0.03673, allocations: 8.606 MB / 268.9 MB, free: 4.75 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 2.836e-06/2.836e-06, allocations: 0 / 341.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.593e-05, allocations: 4.844 kB / 341.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003344/0.00338, allocations: 2.151 MB / 343.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.004169, allocations: 447.8 kB / 343.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.004331, allocations: 19.81 kB / 343.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004538, allocations: 67.31 kB / 344 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.004628, allocations: 39.55 kB / 344 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.00517, allocations: 271.5 kB / 344.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.005582, allocations: 455.7 kB / 344.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.005753, allocations: 73.22 kB / 344.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.00593, allocations: 191.5 kB / 345 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.006087, allocations: 143.5 kB / 345.1 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.006134, allocations: 32 kB / 345.2 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.169e-05/0.006166, allocations: 28 kB / 345.2 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.006273, allocations: 135.6 kB / 345.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.006351, allocations: 103.6 kB / 345.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.006629, allocations: 282.7 kB / 345.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.006632, allocations: 4 kB / 345.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006634, allocations: 0 / 345.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.006639, allocations: 0 / 345.7 MB, free: 4.742 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.000784/0.007423, allocations: 0.7569 MB / 346.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.007474, allocations: 12.02 kB / 346.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.007574, allocations: 88.56 kB / 346.6 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.007972, allocations: 326.8 kB / 346.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.008005, allocations: 29.38 kB / 346.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.008052, allocations: 40.33 kB / 346.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.008427, allocations: 370 kB / 347.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.008444, allocations: 192 / 347.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.008466, allocations: 16.38 kB / 347.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.008477, allocations: 12.38 kB / 347.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.008633, allocations: 128.3 kB / 347.5 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.01004, allocations: 1.93 MB / 349.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.01023, allocations: 117.6 kB / 349.5 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.01029, allocations: 51.69 kB / 349.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.01031, allocations: 7.984 kB / 349.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01033, allocations: 37.39 kB / 349.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/0.01033, allocations: 4 kB / 349.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003111/0.01065, allocations: 189.5 kB / 349.8 MB, free: 436 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.01068, allocations: 51.41 kB / 349.8 MB, free: 372 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.01102, allocations: 414.3 kB / 350.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01104, allocations: 29.7 kB / 350.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.01119, allocations: 322.7 kB / 350.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.01124, allocations: 87.27 kB / 350.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.01133, allocations: 91.25 kB / 350.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.01149, allocations: 0.5273 MB / 351.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.01153, allocations: 28.47 kB / 351.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01168, allocations: 251.9 kB / 351.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.01195, allocations: 363.9 kB / 351.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01195, allocations: 0 / 351.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000292/0.01224, allocations: 300.9 kB / 352.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01226, allocations: 8.656 kB / 352.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01227, allocations: 8 kB / 352.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01228, allocations: 8 kB / 352.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.01247, allocations: 91.83 kB / 352.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01247, allocations: 11.94 kB / 352.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.01256, allocations: 39.69 kB / 352.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.01258, allocations: 16 kB / 352.4 MB, free: 13.57 MB / 330.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.0001659/0.01275, allocations: 206.4 kB / 352.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.01279, allocations: 47.7 kB / 352.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.01302, allocations: 180.9 kB / 352.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01302, allocations: 4 kB / 352.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01302, allocations: 0 / 352.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01303, allocations: 7.969 kB / 352.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.01325, allocations: 225 kB / 353 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01325, allocations: 7.922 kB / 353 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.01341, allocations: 51.92 kB / 353.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01342, allocations: 0 / 353.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.01344, allocations: 15.92 kB / 353.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01344, allocations: 0 / 353.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01344, allocations: 4 kB / 353.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.01375, allocations: 363.4 kB / 353.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.01379, allocations: 31.7 kB / 353.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01381, allocations: 11.94 kB / 353.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.01387, allocations: 12 kB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.01392, allocations: 11.97 kB / 353.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01393, allocations: 11.98 kB / 353.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.01405, allocations: 239 kB / 353.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01405, allocations: 0 / 353.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.0143, allocations: 79.73 kB / 353.9 MB, free: 12.03 MB / 330.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 0.0001038/0.0144, allocations: 99.25 kB / 354 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.01461, allocations: 172.8 kB / 354.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01461, allocations: 0 / 354.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.01467, allocations: 74.36 kB / 354.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01492, allocations: 38.36 kB / 354.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.01573, allocations: 0.7171 MB / 355 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.01581, allocations: 120.6 kB / 355.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.61e-05/0.01589, allocations: 43.27 kB / 355.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.016, allocations: 114.2 kB / 355.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.016, allocations: 0 / 355.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of Templates: time 0.004684/0.02068, allocations: 2.285 MB / 357.5 MB, free: 8.34 MB / 330.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.9328642361797392]