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.001239/0.001239, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009963/0.0009963, allocations: 169 kB / 23.02 MB, free: 1.547 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03566/0.03566, allocations: 8.606 MB / 268.6 MB, free: 4.918 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 2.234e-06/2.234e-06, allocations: 4 kB / 340.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.262e-05, allocations: 6.25 kB / 340.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002639/0.002672, allocations: 2.209 MB / 343.1 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.00361, allocations: 0.5854 MB / 343.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.003783, allocations: 23.81 kB / 343.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.004006, allocations: 67.33 kB / 343.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.004096, allocations: 35.55 kB / 343.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.004796, allocations: 351.1 kB / 344.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.005177, allocations: 0.4969 MB / 344.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.005323, allocations: 65.25 kB / 344.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.005502, allocations: 235.4 kB / 344.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.005664, allocations: 151.5 kB / 345.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.005706, allocations: 32 kB / 345.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.005735, allocations: 32 kB / 345.1 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.005815, allocations: 143.5 kB / 345.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.005895, allocations: 115.6 kB / 345.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.006153, allocations: 298.8 kB / 345.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006155, allocations: 0 / 345.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006157, allocations: 0 / 345.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.006165, allocations: 3.938 kB / 345.7 MB, free: 3.523 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.0007005/0.006865, allocations: 0.792 MB / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.006903, allocations: 8.031 kB / 346.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.006991, allocations: 84.61 kB / 346.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.007303, allocations: 350.8 kB / 346.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.007334, allocations: 37.38 kB / 347 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.007383, allocations: 40.33 kB / 347 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.00776, allocations: 414.8 kB / 347.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.007778, allocations: 4.172 kB / 347.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.0078, allocations: 24.38 kB / 347.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.007812, allocations: 8.375 kB / 347.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.008023, allocations: 177.7 kB / 347.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.009468, allocations: 2.079 MB / 349.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.009857, allocations: 159 kB / 349.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.009938, allocations: 59.66 kB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.009962, allocations: 8 kB / 349.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.009986, allocations: 37.39 kB / 349.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.009988, allocations: 0 / 349.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003476/0.01034, allocations: 230.4 kB / 350.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.01036, allocations: 59.34 kB / 350.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.01064, allocations: 422.5 kB / 350.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01066, allocations: 33.7 kB / 350.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.0108, allocations: 327 kB / 351 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.01086, allocations: 107.1 kB / 351.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.01094, allocations: 95.8 kB / 351.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01107, allocations: 0.5274 MB / 351.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.01115, allocations: 60.95 kB / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.01133, allocations: 285.6 kB / 352.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.01169, allocations: 433 kB / 352.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01169, allocations: 0 / 352.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003768/0.01207, allocations: 380.5 kB / 352.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01209, allocations: 8 kB / 352.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.0121, allocations: 8 kB / 352.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01211, allocations: 12.7 kB / 352.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.01236, allocations: 111.8 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01237, allocations: 12 kB / 353 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01248, allocations: 51.61 kB / 353.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.0125, allocations: 23.94 kB / 353.1 MB, free: 11.63 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_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.0001758/0.01267, allocations: 218.2 kB / 353.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.01272, allocations: 47.72 kB / 353.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.01305, allocations: 253.9 kB / 353.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01305, allocations: 0 / 353.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01305, allocations: 0 / 353.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01306, allocations: 8 kB / 353.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.01333, allocations: 300.3 kB / 353.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01333, allocations: 0 / 353.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.01355, allocations: 79.89 kB / 354 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01356, allocations: 3.984 kB / 354 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.01358, allocations: 8 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01359, allocations: 4 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01359, allocations: 0 / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.01396, allocations: 428.7 kB / 354.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.014, allocations: 47.64 kB / 354.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.01403, allocations: 11.98 kB / 354.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.01411, allocations: 11.98 kB / 354.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.01416, allocations: 19.97 kB / 354.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01417, allocations: 8 kB / 354.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.01433, allocations: 259.1 kB / 354.7 MB, free: 9.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01433, allocations: 0 / 354.7 MB, free: 9.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01457, allocations: 87.72 kB / 354.8 MB, free: 9.797 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 0.0001047/0.01468, allocations: 99.81 kB / 354.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01496, allocations: 220.3 kB / 355.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01496, allocations: 4 kB / 355.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.01505, allocations: 85.52 kB / 355.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01531, allocations: 57.42 kB / 355.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/0.01624, allocations: 0.7892 MB / 356.1 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.01633, allocations: 133.2 kB / 356.2 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.01644, allocations: 67.22 kB / 356.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.01651, allocations: 36.5 kB / 356.3 MB, free: 8.254 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01651, allocations: 4 kB / 356.3 MB, free: 8.25 MB / 282.7 MB Notification: Performance of Templates: time 0.005112/0.02162, allocations: 2.419 MB / 358.7 MB, free: 5.848 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.9054178702645004]