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.001384/0.001384, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001754/0.001754, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9735/0.9735, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.0374/0.0374, allocations: 8.61 MB / 269.7 MB, free: 4.781 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 2.014e-06/2.014e-06, allocations: 0 / 342.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.538e-05, allocations: 2.312 kB / 342.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002957/0.002983, allocations: 2.15 MB / 344.3 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.0038, allocations: 451.8 kB / 344.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.003999, allocations: 19.81 kB / 344.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.004206, allocations: 63.33 kB / 344.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.004316, allocations: 39.61 kB / 344.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.004909, allocations: 275.4 kB / 345.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.005352, allocations: 447.7 kB / 345.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.005504, allocations: 73.22 kB / 345.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.0057, allocations: 199.5 kB / 345.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.005852, allocations: 131.5 kB / 345.9 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.005902, allocations: 32 kB / 345.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.005934, allocations: 28 kB / 346 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.006033, allocations: 139.5 kB / 346.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.006113, allocations: 111.6 kB / 346.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.006357, allocations: 278.8 kB / 346.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006359, allocations: 0 / 346.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00636, allocations: 0 / 346.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.006365, allocations: 0 / 346.5 MB, free: 4.766 MB / 314.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.000662/0.007027, allocations: 0.7608 MB / 347.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.007057, allocations: 8.031 kB / 347.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.00714, allocations: 88.56 kB / 347.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.007461, allocations: 330.8 kB / 347.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.007486, allocations: 29.38 kB / 347.7 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.00753, allocations: 44.31 kB / 347.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.00799, allocations: 358.1 kB / 348.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.008008, allocations: 4.125 kB / 348.1 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.00803, allocations: 16.38 kB / 348.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.008039, allocations: 12.38 kB / 348.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.008193, allocations: 136.3 kB / 348.3 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.009579, allocations: 1.922 MB / 350.2 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.009769, allocations: 111 kB / 350.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.009824, allocations: 54.64 kB / 350.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.009842, allocations: 4 kB / 350.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.009864, allocations: 41.39 kB / 350.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.009866, allocations: 4 kB / 350.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002407/0.01011, allocations: 181.5 kB / 350.6 MB, free: 472 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.01013, allocations: 55.41 kB / 350.6 MB, free: 404 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.01062, allocations: 414.2 kB / 351 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01064, allocations: 29.7 kB / 351.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01078, allocations: 322.7 kB / 351.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.01083, allocations: 95.25 kB / 351.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01091, allocations: 91.25 kB / 351.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01103, allocations: 0.5234 MB / 352.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.01107, allocations: 28.47 kB / 352.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.0112, allocations: 248 kB / 352.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.01147, allocations: 352.8 kB / 352.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.01147, allocations: 0 / 352.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003918/0.01186, allocations: 312.8 kB / 353 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01188, allocations: 8 kB / 353 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.01189, allocations: 4.656 kB / 353 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0119, allocations: 12 kB / 353 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.01215, allocations: 87.84 kB / 353.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.01216, allocations: 15.92 kB / 353.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.0123, allocations: 43.69 kB / 353.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.01232, allocations: 16 kB / 353.2 MB, free: 13.59 MB / 330.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_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.000184/0.01251, allocations: 206.3 kB / 353.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.01257, allocations: 51.64 kB / 353.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.01285, allocations: 180.9 kB / 353.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01285, allocations: 4 kB / 353.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01285, allocations: 0 / 353.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01285, allocations: 0 / 353.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.01313, allocations: 229 kB / 353.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01313, allocations: 4 kB / 353.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.01335, allocations: 51.91 kB / 353.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01335, allocations: 0 / 353.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.01337, allocations: 11.94 kB / 353.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01337, allocations: 0 / 353.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01338, allocations: 0 / 353.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.01675, allocations: 367.4 kB / 354.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.01679, allocations: 31.7 kB / 354.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.01682, allocations: 19.86 kB / 354.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.01691, allocations: 8 kB / 354.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.01696, allocations: 19.91 kB / 354.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01697, allocations: 4 kB / 354.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.01711, allocations: 243 kB / 354.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01711, allocations: 0 / 354.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.01745, allocations: 83.73 kB / 354.7 MB, free: 12.05 MB / 330.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.0001005/0.01756, allocations: 107.2 kB / 354.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.01782, allocations: 165 kB / 354.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01782, allocations: 0 / 354.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.0179, allocations: 73.95 kB / 355 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01821, allocations: 41.73 kB / 355 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.01912, allocations: 0.7158 MB / 355.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.345e-05/0.01922, allocations: 128.6 kB / 355.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.01933, allocations: 43.27 kB / 355.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.01943, allocations: 106.2 kB / 356 MB, free: 10.62 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01943, allocations: 0 / 356 MB, free: 10.62 MB / 330.7 MB Notification: Performance of Templates: time 0.0151/0.03454, allocations: 2.326 MB / 358.3 MB, free: 8.309 MB / 330.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: 2.835050577763468]