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.001943/0.001943, allocations: 88.72 kB / 19.44 MB, free: 356 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.002499/0.002499, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.06529/0.06529, allocations: 8.608 MB / 268.2 MB, free: 4.934 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.413e-06/1.413e-06, allocations: 0 / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.029e-05, allocations: 2.312 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00228/0.0023, allocations: 2.115 MB / 342.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.003012, allocations: 443.8 kB / 342.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.003141, allocations: 19.81 kB / 342.7 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.003337, allocations: 67.31 kB / 342.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.003434, allocations: 39.55 kB / 342.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.003962, allocations: 275.4 kB / 343.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.0043, allocations: 440.2 kB / 343.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.004433, allocations: 77.16 kB / 343.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.004577, allocations: 191.6 kB / 343.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.004732, allocations: 135.5 kB / 343.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.004778, allocations: 32 kB / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.004814, allocations: 28 kB / 344 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.004903, allocations: 135.5 kB / 344.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.00499, allocations: 103.7 kB / 344.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.005274, allocations: 390.5 kB / 344.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005277, allocations: 0 / 344.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.005278, allocations: 0 / 344.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.005283, allocations: 0 / 344.6 MB, free: 4.27 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.0008689/0.006152, allocations: 0.6688 MB / 345.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.006182, allocations: 8.031 kB / 345.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.006287, allocations: 84.61 kB / 345.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.006686, allocations: 344 kB / 345.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.006711, allocations: 29.38 kB / 345.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.006766, allocations: 40.38 kB / 345.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.007306, allocations: 467.9 kB / 346.2 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.007329, allocations: 4.141 kB / 346.2 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.007361, allocations: 20.31 kB / 346.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007369, allocations: 12.38 kB / 346.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.007822, allocations: 314.2 kB / 346.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.009549, allocations: 1.713 MB / 348.3 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.009912, allocations: 174.5 kB / 348.4 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.01007, allocations: 104.8 kB / 348.5 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01009, allocations: 4 kB / 348.5 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.01011, allocations: 30.56 kB / 348.6 MB, free: 96 kB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.01011, allocations: 0 / 348.6 MB, free: 96 kB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007238/0.01083, allocations: 332.4 kB / 348.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.01089, allocations: 63.34 kB / 348.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.01135, allocations: 381.4 kB / 349.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01139, allocations: 33.7 kB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.01163, allocations: 268 kB / 349.6 MB, free: 15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.01172, allocations: 83.33 kB / 349.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01184, allocations: 81.64 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.01206, allocations: 350.8 kB / 350.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.01228, allocations: 96.42 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.01266, allocations: 249.8 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.01433, allocations: 0.6353 MB / 351.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01434, allocations: 0 / 351.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008638/0.0152, allocations: 468.8 kB / 351.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01522, allocations: 11.94 kB / 351.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.01523, allocations: 7.938 kB / 351.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.01526, allocations: 8 kB / 351.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.01564, allocations: 92.53 kB / 351.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.01566, allocations: 11.94 kB / 351.7 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.01587, allocations: 59.64 kB / 351.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.01591, allocations: 24 kB / 351.8 MB, free: 12.7 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.0002984/0.01621, allocations: 206.3 kB / 352 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.01629, allocations: 43.77 kB / 352 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.01691, allocations: 279.2 kB / 352.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.01692, allocations: 4 kB / 352.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01692, allocations: 0 / 352.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01692, allocations: 0 / 352.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.01737, allocations: 297 kB / 352.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01737, allocations: 0 / 352.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.01773, allocations: 71.89 kB / 352.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01774, allocations: 0 / 352.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.01776, allocations: 8 kB / 352.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01777, allocations: 0 / 352.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01777, allocations: 0 / 352.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.0186, allocations: 481.3 kB / 353.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.01866, allocations: 39.69 kB / 353.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.0187, allocations: 11.98 kB / 353.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.01886, allocations: 15.98 kB / 353.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.01892, allocations: 19.97 kB / 353.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.01894, allocations: 4 kB / 353.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002981/0.01924, allocations: 251.2 kB / 353.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01924, allocations: 0 / 353.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.01983, allocations: 71.78 kB / 353.5 MB, free: 10.88 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.0001457/0.01998, allocations: 103.2 kB / 353.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.02058, allocations: 279.9 kB / 353.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02058, allocations: 0 / 353.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.0208, allocations: 107.8 kB / 354 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.02117, allocations: 46.61 kB / 354 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.02256, allocations: 0.7735 MB / 354.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.02285, allocations: 241.1 kB / 355.1 MB, free: 9.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000192/0.02304, allocations: 71.22 kB / 355.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.02312, allocations: 28.5 kB / 355.2 MB, free: 9.184 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02313, allocations: 0 / 355.2 MB, free: 9.184 MB / 282.7 MB Notification: Performance of Templates: time 0.006617/0.02974, allocations: 2.116 MB / 357.3 MB, free: 7.094 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.352030962938443]