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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001343/0.001343, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.04234/0.04234, allocations: 8.614 MB / 268.9 MB, free: 4.992 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 2.385e-06/2.385e-06, allocations: 0 / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.084e-05, allocations: 2.312 kB / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003297/0.003328, allocations: 2.214 MB / 343.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.00468, allocations: 0.6987 MB / 343.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.00492, allocations: 27.69 kB / 343.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.005162, allocations: 67.31 kB / 343.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.005392, allocations: 55.41 kB / 343.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008614/0.006254, allocations: 407.1 kB / 344.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.006817, allocations: 0.532 MB / 344.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.007004, allocations: 73.16 kB / 345 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.00731, allocations: 271.4 kB / 345.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.007537, allocations: 167.4 kB / 345.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.007598, allocations: 40 kB / 345.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.007649, allocations: 32 kB / 345.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.007777, allocations: 143.5 kB / 345.6 MB, free: 4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.007896, allocations: 131.5 kB / 345.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.008284, allocations: 322.6 kB / 346 MB, free: 3.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.008289, allocations: 0 / 346 MB, free: 3.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.00829, allocations: 0 / 346 MB, free: 3.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.008299, allocations: 4 kB / 346 MB, free: 3.551 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.001082/0.00938, allocations: 0.8425 MB / 346.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.009424, allocations: 8.031 kB / 346.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.009571, allocations: 100.5 kB / 347 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.01012, allocations: 397 kB / 347.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.0102, allocations: 84.97 kB / 347.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.01027, allocations: 40.38 kB / 347.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.01087, allocations: 422.8 kB / 347.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.0109, allocations: 8.141 kB / 347.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.01094, allocations: 16.38 kB / 347.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.01095, allocations: 12.12 kB / 347.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.01134, allocations: 193.7 kB / 348.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.01369, allocations: 2.169 MB / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.01435, allocations: 212.7 kB / 350.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.01453, allocations: 92.2 kB / 350.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.01457, allocations: 12.2 kB / 350.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.0146, allocations: 41.67 kB / 350.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/0.0146, allocations: 0 / 350.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006444/0.01525, allocations: 301.9 kB / 350.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.01529, allocations: 55.41 kB / 351 MB, free: 14.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.01572, allocations: 430.5 kB / 351.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.01575, allocations: 29.7 kB / 351.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.01599, allocations: 323.2 kB / 351.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.01609, allocations: 142.8 kB / 351.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01622, allocations: 99.8 kB / 352 MB, free: 13.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003642/0.01658, allocations: 0.5313 MB / 352.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.01674, allocations: 61.11 kB / 352.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.017, allocations: 271.6 kB / 352.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.01762, allocations: 456.2 kB / 353.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.01763, allocations: 0 / 353.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006682/0.01829, allocations: 409.7 kB / 353.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.01832, allocations: 10.75 kB / 353.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.01833, allocations: 11.94 kB / 353.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.01835, allocations: 7.938 kB / 353.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.01882, allocations: 123.8 kB / 353.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.01884, allocations: 11.98 kB / 353.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.01903, allocations: 51.62 kB / 353.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.01907, allocations: 27.98 kB / 353.9 MB, free: 11.16 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.0002353/0.0193, allocations: 202.3 kB / 354.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.01952, allocations: 59.66 kB / 354.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/0.02008, allocations: 305.4 kB / 354.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.02008, allocations: 4 kB / 354.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.02009, allocations: 0 / 354.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.0201, allocations: 3.984 kB / 354.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.02054, allocations: 328.3 kB / 354.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02054, allocations: 0 / 354.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.02101, allocations: 95.88 kB / 354.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.02102, allocations: 7.938 kB / 354.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.02106, allocations: 19.98 kB / 354.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.02107, allocations: 0 / 354.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.02107, allocations: 0 / 354.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.02176, allocations: 0.497 MB / 355.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.02182, allocations: 47.64 kB / 355.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.02188, allocations: 15.94 kB / 355.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.02203, allocations: 11.98 kB / 355.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.0221, allocations: 19.95 kB / 355.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.02212, allocations: 12 kB / 355.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.02237, allocations: 271 kB / 355.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02237, allocations: 4 kB / 355.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.02281, allocations: 83.78 kB / 355.9 MB, free: 9.121 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.0001425/0.02295, allocations: 109.2 kB / 356 MB, free: 9.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.02344, allocations: 253.1 kB / 356.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02344, allocations: 384 / 356.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.02363, allocations: 127.9 kB / 356.4 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02405, allocations: 51.78 kB / 356.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.02548, allocations: 0.857 MB / 357.3 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.0256, allocations: 137.6 kB / 357.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.02582, allocations: 79.34 kB / 357.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.02593, allocations: 32.5 kB / 357.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.02593, allocations: 4 kB / 357.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of Templates: time 0.006599/0.03253, allocations: 2.634 MB / 360.2 MB, free: 4.801 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0384199949912727]