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.001344/0.001344, allocations: 79.42 kB / 19.76 MB, free: 1.875 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.001501/0.001501, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.06129/0.06129, allocations: 8.617 MB / 268.4 MB, free: 8.52 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.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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.91 kB / 396.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 56.05 MB / 452.1 MB, free: 15.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00402/0.119, allocations: 2.115 MB / 454.2 MB, free: 13.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1202, allocations: 451.9 kB / 454.7 MB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.1204, allocations: 19.75 kB / 454.7 MB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.1207, allocations: 67.38 kB / 454.8 MB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1208, allocations: 27.62 kB / 454.8 MB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.1215, allocations: 243.5 kB / 455 MB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007828/0.1223, allocations: 0.5509 MB / 455.6 MB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1225, allocations: 60.48 kB / 455.6 MB, free: 12.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1227, allocations: 175.3 kB / 455.8 MB, free: 12.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.123, allocations: 167.1 kB / 456 MB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.1231, allocations: 28 kB / 456 MB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.1232, allocations: 28 kB / 456 MB, free: 11.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1233, allocations: 135.6 kB / 456.2 MB, free: 11.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1235, allocations: 147 kB / 456.3 MB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.124, allocations: 382.1 kB / 456.7 MB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.124, allocations: 4 kB / 456.7 MB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.124, allocations: 4 kB / 456.7 MB, free: 11.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.124, allocations: 0 / 456.7 MB, free: 11.17 MB / 430.1 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.001219/0.1252, allocations: 0.6804 MB / 457.4 MB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1252, allocations: 8.031 kB / 457.4 MB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.949e-05/0.1253, allocations: 52.61 kB / 457.4 MB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.1259, allocations: 336.7 kB / 457.7 MB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.1259, allocations: 25.38 kB / 457.8 MB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.126, allocations: 44.38 kB / 457.8 MB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.1267, allocations: 459.9 kB / 458.3 MB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.1268, allocations: 8.141 kB / 458.3 MB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.1268, allocations: 19.94 kB / 458.3 MB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1268, allocations: 8 kB / 458.3 MB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.1274, allocations: 314.3 kB / 458.6 MB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1299, allocations: 1.717 MB / 460.3 MB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1304, allocations: 174.4 kB / 460.5 MB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1306, allocations: 104.8 kB / 460.6 MB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1306, allocations: 4 kB / 460.6 MB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1306, allocations: 30.56 kB / 460.6 MB, free: 7.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.1306, allocations: 0 / 460.6 MB, free: 7.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006822/0.1313, allocations: 333.5 kB / 461 MB, free: 6.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1314, allocations: 51.41 kB / 461 MB, free: 6.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.1318, allocations: 385.5 kB / 461.4 MB, free: 6.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1318, allocations: 25.7 kB / 461.4 MB, free: 6.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.132, allocations: 272 kB / 461.7 MB, free: 5.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.1321, allocations: 91.25 kB / 461.8 MB, free: 5.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1323, allocations: 85.58 kB / 461.8 MB, free: 5.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1324, allocations: 354.7 kB / 462.2 MB, free: 5.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.1327, allocations: 100.2 kB / 462.3 MB, free: 5.309 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.133, allocations: 245.8 kB / 462.5 MB, free: 5.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.1345, allocations: 0.6301 MB / 463.2 MB, free: 4.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1345, allocations: 0 / 463.2 MB, free: 4.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007727/0.1353, allocations: 468.8 kB / 463.6 MB, free: 3.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1353, allocations: 6.812 kB / 463.6 MB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1353, allocations: 8 kB / 463.6 MB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1353, allocations: 4.656 kB / 463.6 MB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.1357, allocations: 95.83 kB / 463.7 MB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1357, allocations: 15.92 kB / 463.7 MB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1359, allocations: 51.66 kB / 463.8 MB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1359, allocations: 20 kB / 463.8 MB, free: 3.648 MB / 430.1 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.0002801/0.1362, allocations: 199.5 kB / 464 MB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.1363, allocations: 35.77 kB / 464 MB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.1368, allocations: 285 kB / 464.3 MB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1368, allocations: 3.984 kB / 464.3 MB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1368, allocations: 0 / 464.3 MB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1368, allocations: 3.938 kB / 464.3 MB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.1372, allocations: 293.1 kB / 464.6 MB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1372, allocations: 0 / 464.6 MB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1376, allocations: 63.84 kB / 464.7 MB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1376, allocations: 0 / 464.7 MB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1376, allocations: 15.92 kB / 464.7 MB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1376, allocations: 0 / 464.7 MB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1376, allocations: 0 / 464.7 MB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.1383, allocations: 481.7 kB / 465.2 MB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1384, allocations: 31.7 kB / 465.2 MB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.1384, allocations: 15.98 kB / 465.2 MB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1386, allocations: 15.98 kB / 465.2 MB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.1387, allocations: 11.97 kB / 465.2 MB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1387, allocations: 8 kB / 465.2 MB, free: 2.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.1389, allocations: 247.2 kB / 465.5 MB, free: 1.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1389, allocations: 0 / 465.5 MB, free: 1.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000394/0.1393, allocations: 79.72 kB / 465.6 MB, free: 1.836 MB / 430.1 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.0001138/0.1394, allocations: 103.2 kB / 465.7 MB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.14, allocations: 279.5 kB / 465.9 MB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.14, allocations: 0 / 465.9 MB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1402, allocations: 109.1 kB / 466 MB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1405, allocations: 33.48 kB / 466.1 MB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1422, allocations: 0.809 MB / 466.9 MB, free: 488 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1426, allocations: 233.3 kB / 467.1 MB, free: 228 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.1427, allocations: 67.23 kB / 467.2 MB, free: 164 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.1428, allocations: 32.5 kB / 467.2 MB, free: 132 kB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1428, allocations: 0 / 467.2 MB, free: 132 kB / 430.1 MB Notification: Performance of Templates: time 0.006373/0.1492, allocations: 2.083 MB / 469.3 MB, free: 14.06 MB / 446.1 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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.693777322070673] Failed to read output from testmodel.py, exit status != 0: 0.15816817397717386 0.17309865100000002 0.046043673 Calling exit ...