Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.001404/0.001404, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001513/0.001513, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.06348/0.06348, allocations: 8.615 MB / 267.8 MB, free: 8.574 MB / 254.1 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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.495e-05, allocations: 9.594 kB / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003885/0.00392, allocations: 2.143 MB / 397.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.006066, allocations: 1.002 MB / 398.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.006339, allocations: 19.81 kB / 398.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.006696, allocations: 91.28 kB / 398.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.006932, allocations: 75.39 kB / 398.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.008224, allocations: 398.9 kB / 399.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008914/0.009115, allocations: 0.548 MB / 399.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.009336, allocations: 69.19 kB / 399.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.009809, allocations: 267.4 kB / 400.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.01021, allocations: 219.4 kB / 400.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.01031, allocations: 36 kB / 400.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.01057, allocations: 103.9 kB / 400.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.01078, allocations: 163.5 kB / 400.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.01098, allocations: 135.5 kB / 400.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.01174, allocations: 0.5412 MB / 401.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01175, allocations: 0 / 401.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01175, allocations: 0 / 401.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.01177, allocations: 0 / 401.4 MB, free: 0.8516 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001866/0.01363, allocations: 0.8181 MB / 402.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.01369, allocations: 12.03 kB / 402.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.01384, allocations: 68.5 kB / 402.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.01455, allocations: 386.1 kB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.0146, allocations: 37.38 kB / 402.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.0147, allocations: 52.31 kB / 402.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.01574, allocations: 0.5725 MB / 403.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.01577, allocations: 12.17 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.01582, allocations: 16.38 kB / 403.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.01584, allocations: 15.94 kB / 403.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.01665, allocations: 433.3 kB / 403.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.01992, allocations: 1.983 MB / 405.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.02051, allocations: 276.1 kB / 406 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.02082, allocations: 202.5 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.02085, allocations: 4 kB / 406.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.0213, allocations: 295.3 kB / 406.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.02131, allocations: 0 / 406.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001279/0.02259, allocations: 0.6407 MB / 407.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.02267, allocations: 85.11 kB / 407.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.02323, allocations: 469.7 kB / 407.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.02327, allocations: 33.7 kB / 407.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.02358, allocations: 312.2 kB / 408 MB, free: 9.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.02372, allocations: 142.9 kB / 408.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.02396, allocations: 118.1 kB / 408.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.02415, allocations: 366.7 kB / 408.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.02449, allocations: 198.8 kB / 408.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.02502, allocations: 395.3 kB / 409.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.02757, allocations: 1.128 MB / 410.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.02758, allocations: 0 / 410.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001361/0.02894, allocations: 0.7903 MB / 411.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.029, allocations: 41.69 kB / 411.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.02901, allocations: 8.719 kB / 411.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.02904, allocations: 8 kB / 411.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.02957, allocations: 139.8 kB / 411.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/0.0296, allocations: 15.92 kB / 411.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.02989, allocations: 71.56 kB / 411.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.02994, allocations: 24 kB / 411.4 MB, free: 6.227 MB / 334.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0004368/0.03038, allocations: 292.2 kB / 411.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.03046, allocations: 51.67 kB / 411.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009936/0.03145, allocations: 0.5466 MB / 412.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.03146, allocations: 4 kB / 412.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.03146, allocations: 0 / 412.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.03147, allocations: 3.984 kB / 412.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.03194, allocations: 360.9 kB / 412.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03194, allocations: 4 kB / 412.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.03243, allocations: 83.88 kB / 412.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.03244, allocations: 4 kB / 412.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.03248, allocations: 19.98 kB / 412.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.03249, allocations: 0 / 412.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03249, allocations: 4 kB / 412.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.03372, allocations: 0.784 MB / 413.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.03384, allocations: 51.55 kB / 413.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.03392, allocations: 23.92 kB / 413.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.03409, allocations: 15.98 kB / 413.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.03418, allocations: 19.97 kB / 413.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.03422, allocations: 15.98 kB / 413.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.03458, allocations: 311 kB / 414 MB, free: 3.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03458, allocations: 0 / 414 MB, free: 3.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.03504, allocations: 119.8 kB / 414.1 MB, free: 3.441 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002843/0.03533, allocations: 151 kB / 414.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009338/0.03626, allocations: 0.5819 MB / 414.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.03627, allocations: 4.062 kB / 414.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.03667, allocations: 276.9 kB / 415.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.03704, allocations: 55.69 kB / 415.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.03892, allocations: 1.073 MB / 416.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.03931, allocations: 292.7 kB / 416.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.03955, allocations: 108.1 kB / 416.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/0.03964, allocations: 36.5 kB / 416.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.03965, allocations: 0 / 416.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Templates: time 0.009803/0.04945, allocations: 3.678 MB / 420.4 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.502547822892666] Failed to read output from testmodel.py, exit status != 0: 0.05855652317404747 0.07511946700000001 0.060004467000000006 Calling exit ...