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.001878/0.001878, allocations: 85.48 kB / 19.44 MB, free: 340 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.002138/0.002138, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.07065/0.07065, allocations: 8.62 MB / 268.2 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.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 1.789e-05/1.789e-05, allocations: 4 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/4.743e-05, allocations: 6.312 kB / 340.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002823/0.00287, allocations: 2.147 MB / 342.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.003623, allocations: 447.8 kB / 342.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.003768, allocations: 15.81 kB / 342.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.003997, allocations: 67.33 kB / 342.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.004096, allocations: 35.61 kB / 342.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.004644, allocations: 275.4 kB / 343.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.00499, allocations: 444.2 kB / 343.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.005124, allocations: 71.84 kB / 343.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.005274, allocations: 199.5 kB / 343.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.005424, allocations: 143.5 kB / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.005474, allocations: 28 kB / 344 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.005514, allocations: 28 kB / 344 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.005612, allocations: 131.6 kB / 344.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.005701, allocations: 111.6 kB / 344.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.006003, allocations: 378.6 kB / 344.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.006007, allocations: 0 / 344.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006008, allocations: 0 / 344.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.006015, allocations: 0 / 344.6 MB, free: 4.23 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0008981/0.006913, allocations: 0.8034 MB / 345.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.006944, allocations: 8.031 kB / 345.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.007043, allocations: 80.61 kB / 345.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.00745, allocations: 338.8 kB / 345.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.007478, allocations: 29.38 kB / 345.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.007527, allocations: 36.38 kB / 345.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.007993, allocations: 417.5 kB / 346.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.008016, allocations: 8.078 kB / 346.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.008043, allocations: 16.38 kB / 346.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.008051, allocations: 16.38 kB / 346.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.008405, allocations: 218.3 kB / 346.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.01031, allocations: 2.105 MB / 348.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.01073, allocations: 139 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.0109, allocations: 71.7 kB / 348.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.01093, allocations: 11.98 kB / 348.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.01097, allocations: 37.39 kB / 348.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.01097, allocations: 0 / 348.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000585/0.01156, allocations: 240.8 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.01161, allocations: 59.33 kB / 349.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.01214, allocations: 470.5 kB / 349.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01217, allocations: 29.7 kB / 349.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.01245, allocations: 326.8 kB / 350 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.01254, allocations: 99.19 kB / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.01268, allocations: 99.3 kB / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.01303, allocations: 0.5391 MB / 350.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.01319, allocations: 64.45 kB / 350.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.01356, allocations: 276.1 kB / 351.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.01433, allocations: 441.2 kB / 351.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.01434, allocations: 3.938 kB / 351.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006749/0.01501, allocations: 369.2 kB / 351.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01503, allocations: 8 kB / 351.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.01504, allocations: 4 kB / 351.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01506, allocations: 8 kB / 351.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.01541, allocations: 95.83 kB / 352 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.01543, allocations: 15.92 kB / 352 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.01562, allocations: 55.61 kB / 352.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.01565, allocations: 12 kB / 352.1 MB, free: 12.27 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: 22 * 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 (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.0002754/0.01592, allocations: 230.2 kB / 352.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.016, allocations: 43.77 kB / 352.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.0165, allocations: 231.2 kB / 352.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0165, allocations: 4 kB / 352.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.0165, allocations: 0 / 352.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01651, allocations: 3.984 kB / 352.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.0171, allocations: 324.4 kB / 352.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.0171, allocations: 3.938 kB / 352.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.01743, allocations: 63.89 kB / 353 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01743, allocations: 0 / 353 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.01747, allocations: 8 kB / 353 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01747, allocations: 4 kB / 353 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01747, allocations: 4 kB / 353 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.01813, allocations: 429.9 kB / 353.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.01819, allocations: 39.64 kB / 353.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.01823, allocations: 7.984 kB / 353.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.01837, allocations: 15.98 kB / 353.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.01842, allocations: 11.97 kB / 353.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01844, allocations: 8 kB / 353.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002993/0.01874, allocations: 283 kB / 353.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01874, allocations: 4 kB / 353.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003528/0.01909, allocations: 79.73 kB / 353.8 MB, free: 10.45 MB / 282.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.0001229/0.01921, allocations: 99.25 kB / 353.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.01968, allocations: 225.4 kB / 354.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01969, allocations: 4.062 kB / 354.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01986, allocations: 87.59 kB / 354.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.0202, allocations: 48.3 kB / 354.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.02144, allocations: 0.7438 MB / 355 MB, free: 9.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.02171, allocations: 233 kB / 355.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.02188, allocations: 63.25 kB / 355.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.02195, allocations: 32.5 kB / 355.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02195, allocations: 4 kB / 355.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of Templates: time 0.00674/0.02869, allocations: 2.117 MB / 357.5 MB, free: 6.77 MB / 282.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: 4.5211235280148685]