Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001472/0.001472, allocations: 84.73 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.001661/0.001661, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.06528/0.06528, allocations: 8.612 MB / 268.2 MB, free: 4.957 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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 3.938 kB / 340.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.301e-05, allocations: 6.25 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002442/0.002465, allocations: 2.118 MB / 342.3 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.003366, allocations: 0.5346 MB / 342.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.00352, allocations: 15.81 kB / 342.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.003716, allocations: 67.33 kB / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003816, allocations: 31.61 kB / 342.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.004478, allocations: 327.3 kB / 343.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.004868, allocations: 480.2 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.005007, allocations: 69.16 kB / 343.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.005222, allocations: 215.5 kB / 344 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.005402, allocations: 151.5 kB / 344.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.005453, allocations: 28 kB / 344.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.03e-05/0.005494, allocations: 35.94 kB / 344.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.005587, allocations: 131.5 kB / 344.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.005682, allocations: 123.6 kB / 344.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.005975, allocations: 390.6 kB / 344.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005977, allocations: 0 / 344.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005978, allocations: 0 / 344.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.005986, allocations: 4 kB / 344.8 MB, free: 4.047 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.0009795/0.006965, allocations: 0.6805 MB / 345.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.006995, allocations: 8.031 kB / 345.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.007122, allocations: 92.48 kB / 345.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.00753, allocations: 352 kB / 345.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.007583, allocations: 84.97 kB / 346 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.007644, allocations: 36.38 kB / 346.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.008224, allocations: 475.9 kB / 346.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.008247, allocations: 8.141 kB / 346.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.00828, allocations: 16.38 kB / 346.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.008288, allocations: 12.12 kB / 346.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.008767, allocations: 330.3 kB / 346.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.01073, allocations: 1.779 MB / 348.7 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.01121, allocations: 174.5 kB / 348.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.01145, allocations: 121.3 kB / 348.9 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.01148, allocations: 4 kB / 349 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.01151, allocations: 38.56 kB / 349 MB, free: 15.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.01151, allocations: 0 / 349 MB, free: 15.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007947/0.01231, allocations: 343.9 kB / 349.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.01236, allocations: 55.34 kB / 349.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.01282, allocations: 385.4 kB / 349.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.01285, allocations: 33.7 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.01309, allocations: 272 kB / 350.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.01318, allocations: 95.22 kB / 350.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.01331, allocations: 82.02 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.01352, allocations: 350.8 kB / 350.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.01377, allocations: 108.8 kB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.01415, allocations: 250.6 kB / 350.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.01596, allocations: 0.6795 MB / 351.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01596, allocations: 0 / 351.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008928/0.01685, allocations: 0.4891 MB / 352.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.01687, allocations: 8 kB / 352.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.01689, allocations: 7.984 kB / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.01692, allocations: 8.656 kB / 352.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.01738, allocations: 107.8 kB / 352.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.01739, allocations: 12 kB / 352.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.01761, allocations: 47.67 kB / 352.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.01764, allocations: 20 kB / 352.3 MB, free: 12.17 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 (54): * Single equations (assignments): 54 * 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.0002952/0.01794, allocations: 203.5 kB / 352.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.01803, allocations: 47.7 kB / 352.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.01867, allocations: 308.7 kB / 352.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.01867, allocations: 4 kB / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01868, allocations: 0 / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01868, allocations: 7.922 kB / 352.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.01915, allocations: 297.1 kB / 353.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01915, allocations: 7.984 kB / 353.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.01959, allocations: 71.89 kB / 353.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01959, allocations: 0 / 353.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.01962, allocations: 11.94 kB / 353.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01962, allocations: 0 / 353.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01963, allocations: 0 / 353.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.02047, allocations: 498.4 kB / 353.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.02053, allocations: 43.66 kB / 353.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.02058, allocations: 15.94 kB / 353.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.02074, allocations: 7.984 kB / 353.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.02081, allocations: 19.97 kB / 353.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.02083, allocations: 7.984 kB / 353.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.02112, allocations: 251.2 kB / 354.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02112, allocations: 0 / 354.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.02152, allocations: 75.78 kB / 354.1 MB, free: 10.27 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001378/0.02165, allocations: 103.2 kB / 354.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.02226, allocations: 299.7 kB / 354.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02227, allocations: 0 / 354.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.02249, allocations: 117.2 kB / 354.6 MB, free: 9.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.02286, allocations: 38.31 kB / 354.7 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.0243, allocations: 0.8197 MB / 355.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.02459, allocations: 237.1 kB / 355.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.0248, allocations: 71.22 kB / 355.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.02489, allocations: 32.5 kB / 355.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02489, allocations: 0 / 355.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of Templates: time 0.00695/0.03184, allocations: 2.198 MB / 358 MB, free: 6.336 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.337646441999823]