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.001344/0.001344, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001515/0.001515, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.496/1.496, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.06379/0.06379, allocations: 8.609 MB / 267.8 MB, free: 8.555 MB / 254.1 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.512e-06/1.512e-06, allocations: 0 / 395.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.045e-05, allocations: 2.281 kB / 395.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003511/0.003541, allocations: 2.15 MB / 397.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.004886, allocations: 0.5738 MB / 398.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.005082, allocations: 19.75 kB / 398.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.00533, allocations: 71.25 kB / 398.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.005452, allocations: 35.56 kB / 398.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.006375, allocations: 343.2 kB / 398.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.007027, allocations: 0.5043 MB / 399.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.007219, allocations: 77.11 kB / 399.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.007499, allocations: 223.5 kB / 399.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.007768, allocations: 163.4 kB / 399.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.007834, allocations: 32 kB / 399.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.007893, allocations: 32 kB / 399.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.008064, allocations: 143.4 kB / 399.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.008213, allocations: 111.6 kB / 400 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.008719, allocations: 410.5 kB / 400.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.008723, allocations: 0 / 400.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.008725, allocations: 0 / 400.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.008732, allocations: 4 kB / 400.4 MB, free: 1.766 MB / 318.1 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.001313/0.01004, allocations: 0.6882 MB / 401.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01008, allocations: 12.03 kB / 401.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.0102, allocations: 56.56 kB / 401.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.01078, allocations: 343.9 kB / 401.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.01082, allocations: 33.36 kB / 401.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.01091, allocations: 52.31 kB / 401.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.01174, allocations: 488.6 kB / 402.1 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.01176, allocations: 4.188 kB / 402.1 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.01182, allocations: 16.45 kB / 402.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.01183, allocations: 12.38 kB / 402.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.0125, allocations: 343.6 kB / 402.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.01509, allocations: 1.757 MB / 404.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.01587, allocations: 214.5 kB / 404.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.0161, allocations: 112.8 kB / 404.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.01613, allocations: 4 kB / 404.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.01616, allocations: 34.56 kB / 404.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.01616, allocations: 0 / 404.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007805/0.01694, allocations: 379.4 kB / 404.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.01699, allocations: 51.41 kB / 405 MB, free: 13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.01743, allocations: 385.5 kB / 405.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.01746, allocations: 33.7 kB / 405.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.0177, allocations: 288.2 kB / 405.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/0.01779, allocations: 103.2 kB / 405.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.01792, allocations: 90.14 kB / 405.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.01811, allocations: 354.7 kB / 406.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.01834, allocations: 116.9 kB / 406.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.01871, allocations: 280.6 kB / 406.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.02087, allocations: 0.753 MB / 407.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02088, allocations: 0 / 407.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008893/0.02177, allocations: 0.4891 MB / 407.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.02179, allocations: 8 kB / 407.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.0218, allocations: 4 kB / 407.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.02183, allocations: 11.98 kB / 407.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.02227, allocations: 115.8 kB / 408 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.02229, allocations: 16.42 kB / 408 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.02251, allocations: 63.59 kB / 408.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.02255, allocations: 20 kB / 408.1 MB, free: 9.719 MB / 334.1 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_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 (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.0002919/0.02284, allocations: 211.6 kB / 408.3 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.02291, allocations: 35.77 kB / 408.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.0236, allocations: 338 kB / 408.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0236, allocations: 0 / 408.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.02361, allocations: 0 / 408.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.02362, allocations: 7.984 kB / 408.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.02407, allocations: 316.9 kB / 409 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02407, allocations: 0 / 409 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.02451, allocations: 79.89 kB / 409 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.02452, allocations: 4 kB / 409.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.02455, allocations: 11.98 kB / 409.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02455, allocations: 0 / 409.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02456, allocations: 0 / 409.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.02539, allocations: 0.5274 MB / 409.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.02545, allocations: 43.66 kB / 409.6 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.0255, allocations: 11.98 kB / 409.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.02565, allocations: 15.98 kB / 409.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.02571, allocations: 19.97 kB / 409.7 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.02573, allocations: 7.984 kB / 409.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.02601, allocations: 251.2 kB / 409.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02601, allocations: 0 / 409.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.02638, allocations: 83.78 kB / 410 MB, free: 7.719 MB / 334.1 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 0.0001242/0.02651, allocations: 111.1 kB / 410.1 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.02712, allocations: 316.9 kB / 410.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02712, allocations: 0 / 410.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.02735, allocations: 128.3 kB / 410.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.02774, allocations: 62.59 kB / 410.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.02919, allocations: 0.8092 MB / 411.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.02947, allocations: 254 kB / 411.7 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.02968, allocations: 79.22 kB / 411.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.02977, allocations: 36.48 kB / 411.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02978, allocations: 0 / 411.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Templates: time 0.00726/0.03704, allocations: 2.322 MB / 414.1 MB, free: 3.586 MB / 334.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.397963643074036] Failed to read output from testmodel.py, exit status != 0: 0.04581896960735321 0.060575257 0.048659177000000005 Calling exit ...