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.0008118/0.0008118, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0008022/0.0008022, allocations: 177.9 kB / 23.22 MB, free: 1.34 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 0.8877/0.8877, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.03914/0.03914, allocations: 8.605 MB / 268.5 MB, free: 5.117 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.563e-06/1.563e-06, allocations: 0 / 396.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.813e-05, allocations: 6.219 kB / 396.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002244/0.002262, allocations: 2.105 MB / 398.4 MB, free: 44 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.002993, allocations: 0.5346 MB / 399 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.003108, allocations: 19.75 kB / 399 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.003279, allocations: 71.31 kB / 399.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.003353, allocations: 39.61 kB / 399.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.003899, allocations: 315.3 kB / 399.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.004285, allocations: 480.2 kB / 399.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.004461, allocations: 73.12 kB / 399.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.004633, allocations: 215.5 kB / 400.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.004816, allocations: 155.5 kB / 400.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.004855, allocations: 32 kB / 400.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.004889, allocations: 32 kB / 400.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.004984, allocations: 131.5 kB / 400.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.005061, allocations: 115.6 kB / 400.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.005351, allocations: 394.6 kB / 401 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005352, allocations: 0 / 401 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005353, allocations: 0 / 401 MB, free: 13.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.00536, allocations: 7.922 kB / 401 MB, free: 13.46 MB / 378.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.0007693/0.006129, allocations: 0.6805 MB / 401.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006159, allocations: 8.031 kB / 401.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.006222, allocations: 56.61 kB / 401.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.006578, allocations: 339.8 kB / 402.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.006637, allocations: 80.97 kB / 402.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.006688, allocations: 48.36 kB / 402.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.007142, allocations: 471.9 kB / 402.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.007162, allocations: 12.16 kB / 402.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.007185, allocations: 16.38 kB / 402.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.007195, allocations: 16.12 kB / 402.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.007553, allocations: 322.3 kB / 403 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.009017, allocations: 1.779 MB / 404.8 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.00929, allocations: 172.6 kB / 405 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.009408, allocations: 112.8 kB / 405.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.00943, allocations: 4 kB / 405.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.009451, allocations: 46.48 kB / 405.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.009452, allocations: 0 / 405.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004109/0.009863, allocations: 333.6 kB / 405.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.009894, allocations: 59.34 kB / 405.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.01014, allocations: 389.4 kB / 405.9 MB, free: 8.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01015, allocations: 25.7 kB / 405.9 MB, free: 8.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01027, allocations: 268.1 kB / 406.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.01032, allocations: 99.22 kB / 406.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.01039, allocations: 82.02 kB / 406.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01049, allocations: 350.8 kB / 406.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.01061, allocations: 104.8 kB / 406.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.01079, allocations: 266.3 kB / 407.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/0.01168, allocations: 0.6666 MB / 407.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01168, allocations: 0 / 407.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004399/0.01212, allocations: 485.5 kB / 408.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01214, allocations: 10.5 kB / 408.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01214, allocations: 8.031 kB / 408.2 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01216, allocations: 8 kB / 408.2 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.01236, allocations: 103.8 kB / 408.3 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.01237, allocations: 11.94 kB / 408.3 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01248, allocations: 51.66 kB / 408.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.0125, allocations: 20 kB / 408.4 MB, free: 5.648 MB / 378.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.0001623/0.01266, allocations: 207.5 kB / 408.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.01269, allocations: 43.66 kB / 408.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.01303, allocations: 303.9 kB / 409 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01303, allocations: 8 kB / 409 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01304, allocations: 0 / 409 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01304, allocations: 0 / 409 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.01328, allocations: 305 kB / 409.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01328, allocations: 0 / 409.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.01349, allocations: 67.89 kB / 409.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01349, allocations: 0 / 409.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01351, allocations: 23.92 kB / 409.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01351, allocations: 0 / 409.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01351, allocations: 0 / 409.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.01394, allocations: 487 kB / 409.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.01397, allocations: 43.69 kB / 409.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01399, allocations: 11.94 kB / 409.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.01406, allocations: 7.984 kB / 409.9 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.0141, allocations: 19.97 kB / 409.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01411, allocations: 4 kB / 409.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.01426, allocations: 255.1 kB / 410.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01426, allocations: 0 / 410.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01449, allocations: 75.78 kB / 410.2 MB, free: 3.77 MB / 378.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 8.45e-05/0.01457, allocations: 122.3 kB / 410.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.0149, allocations: 291 kB / 410.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0149, allocations: 0 / 410.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01501, allocations: 120 kB / 410.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01524, allocations: 45.89 kB / 410.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.01608, allocations: 0.8298 MB / 411.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.01623, allocations: 256.9 kB / 411.9 MB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.01629, allocations: 28.5 kB / 411.9 MB, free: 2.031 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01629, allocations: 0 / 411.9 MB, free: 2.031 MB / 378.7 MB Notification: Performance of Templates: time 0.004124/0.02042, allocations: 4.646 MB / 416.6 MB, free: 13.38 MB / 394.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.581941371783614] Failed to read output from testmodel.py, exit status != 0: 0.024943589232861996 0.032460625 0.025547158 Calling exit ...