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.001751/0.001751, allocations: 78.09 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.002072/0.002072, allocations: 161.3 kB / 23.01 MB, free: 4.605 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.06131/0.06131, allocations: 8.611 MB / 268.4 MB, free: 8.543 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: 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.002207/0.002207, allocations: 67.91 kB / 396.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 56.05 MB / 452.1 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003996/0.125, allocations: 2.158 MB / 454.3 MB, free: 13.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1271, allocations: 1.002 MB / 455.3 MB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.1273, allocations: 23.75 kB / 455.3 MB, free: 12.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1277, allocations: 87.28 kB / 455.4 MB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1278, allocations: 75.48 kB / 455.5 MB, free: 12.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1288, allocations: 355.3 kB / 455.8 MB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.1297, allocations: 0.6575 MB / 456.5 MB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1299, allocations: 61.25 kB / 456.5 MB, free: 11.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.1302, allocations: 227.2 kB / 456.7 MB, free: 11.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1306, allocations: 247 kB / 457 MB, free: 10.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.1306, allocations: 40 kB / 457 MB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.1308, allocations: 103.9 kB / 457.1 MB, free: 10.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.131, allocations: 167.4 kB / 457.3 MB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.1312, allocations: 178.9 kB / 457.5 MB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.1319, allocations: 0.5327 MB / 458 MB, free: 9.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1319, allocations: 4 kB / 458 MB, free: 9.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1319, allocations: 0 / 458 MB, free: 9.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1319, allocations: 0 / 458 MB, free: 9.871 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001571/0.1335, allocations: 0.822 MB / 458.8 MB, free: 9.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1335, allocations: 12.03 kB / 458.8 MB, free: 9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1336, allocations: 64.52 kB / 458.9 MB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007041/0.1343, allocations: 394.8 kB / 459.3 MB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1344, allocations: 37.38 kB / 459.3 MB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.1345, allocations: 48.31 kB / 459.4 MB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1355, allocations: 0.5801 MB / 459.9 MB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1355, allocations: 7.953 kB / 460 MB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.1356, allocations: 20 kB / 460 MB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1356, allocations: 8 kB / 460 MB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.1365, allocations: 437.3 kB / 460.4 MB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.1397, allocations: 1.968 MB / 462.4 MB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.1403, allocations: 295.9 kB / 462.7 MB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.1406, allocations: 198.5 kB / 462.9 MB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1406, allocations: 7.938 kB / 462.9 MB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.1411, allocations: 287.2 kB / 463.1 MB, free: 4.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=36): time 2.485e-06/0.1411, allocations: 0 / 463.1 MB, free: 4.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.001172/0.1423, allocations: 0.6488 MB / 463.8 MB, free: 3.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.1424, allocations: 93.09 kB / 463.9 MB, free: 3.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.143, allocations: 481.6 kB / 464.4 MB, free: 3.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.143, allocations: 29.7 kB / 464.4 MB, free: 3.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1433, allocations: 308.2 kB / 464.7 MB, free: 2.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.1434, allocations: 146.8 kB / 464.8 MB, free: 2.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1436, allocations: 114.1 kB / 464.9 MB, free: 2.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.1438, allocations: 366.8 kB / 465.3 MB, free: 2.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.1442, allocations: 202.8 kB / 465.5 MB, free: 2.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.1447, allocations: 391.3 kB / 465.9 MB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.1471, allocations: 1.109 MB / 467 MB, free: 372 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1471, allocations: 0 / 467 MB, free: 372 kB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001309/0.1485, allocations: 0.7826 MB / 467.8 MB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.1485, allocations: 41.69 kB / 467.8 MB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1485, allocations: 4 kB / 467.8 MB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1485, allocations: 12.78 kB / 467.8 MB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.1491, allocations: 139.8 kB / 468 MB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.1491, allocations: 19.92 kB / 468 MB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1494, allocations: 71.44 kB / 468.1 MB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.1494, allocations: 28 kB / 468.1 MB, free: 15.25 MB / 446.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.0004712/0.1499, allocations: 271.7 kB / 468.3 MB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.15, allocations: 51.67 kB / 468.4 MB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009397/0.1509, allocations: 0.5549 MB / 469 MB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1509, allocations: 11.94 kB / 469 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1509, allocations: 7.875 kB / 469 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1509, allocations: 3.984 kB / 469 MB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.1514, allocations: 372.6 kB / 469.3 MB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1514, allocations: 0 / 469.3 MB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.1519, allocations: 83.88 kB / 469.4 MB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1519, allocations: 0 / 469.4 MB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.152, allocations: 19.98 kB / 469.4 MB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.152, allocations: 4 kB / 469.4 MB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.152, allocations: 3.938 kB / 469.4 MB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1532, allocations: 0.7855 MB / 470.2 MB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.1533, allocations: 43.61 kB / 470.3 MB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.1533, allocations: 12 kB / 470.3 MB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1535, allocations: 19.98 kB / 470.3 MB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.1536, allocations: 19.95 kB / 470.3 MB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.1536, allocations: 19.92 kB / 470.3 MB, free: 12.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00036/0.154, allocations: 307.1 kB / 470.6 MB, free: 12.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.154, allocations: 4 kB / 470.7 MB, free: 12.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.1545, allocations: 119.8 kB / 470.8 MB, free: 12.46 MB / 446.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.0002307/0.1547, allocations: 149 kB / 470.9 MB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009366/0.1556, allocations: 0.5777 MB / 471.5 MB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1556, allocations: 4.438 kB / 471.5 MB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.156, allocations: 276.9 kB / 471.8 MB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1564, allocations: 55.73 kB / 471.8 MB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1581, allocations: 1.17 MB / 473 MB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1585, allocations: 300.6 kB / 473.3 MB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.1587, allocations: 108.1 kB / 473.4 MB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.1588, allocations: 40.44 kB / 473.4 MB, free: 9.691 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1588, allocations: 0 / 473.4 MB, free: 9.691 MB / 446.1 MB Notification: Performance of Templates: time 0.009772/0.1686, allocations: 3.675 MB / 477.1 MB, free: 6.039 MB / 446.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.851513797068037] Failed to read output from testmodel.py, exit status != 0: 0.17749156209174544 0.39863780099999996 0.26365605899999994 Calling exit ...