Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.001509/0.001509, allocations: 80.92 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.00152/0.00152, allocations: 163.8 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.06213/0.06213, allocations: 8.605 MB / 267.8 MB, free: 8.57 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.411e-05, allocations: 2.281 kB / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003413/0.003437, allocations: 2.147 MB / 397.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004869, allocations: 0.7026 MB / 398.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.005048, allocations: 27.69 kB / 398.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.005287, allocations: 75.25 kB / 398.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.005505, allocations: 47.48 kB / 398.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.006406, allocations: 403 kB / 399 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.007065, allocations: 0.5472 MB / 399.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.007254, allocations: 69.19 kB / 399.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.007615, allocations: 283.3 kB / 399.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.007872, allocations: 159.5 kB / 400 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.007972, allocations: 43.92 kB / 400.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.018e-05/0.008032, allocations: 36 kB / 400.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.008195, allocations: 139.5 kB / 400.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.008377, allocations: 123.6 kB / 400.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.00887, allocations: 446.4 kB / 400.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.008874, allocations: 0 / 400.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.008875, allocations: 0 / 400.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.008882, allocations: 0 / 400.8 MB, free: 1.445 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001435/0.01032, allocations: 0.7387 MB / 401.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01036, allocations: 12.02 kB / 401.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01048, allocations: 60.56 kB / 401.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.01114, allocations: 374.2 kB / 402 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.01124, allocations: 88.97 kB / 402 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.01133, allocations: 56.3 kB / 402.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.0122, allocations: 0.4928 MB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.01222, allocations: 8.172 kB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.01227, allocations: 16.38 kB / 402.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.01228, allocations: 12.12 kB / 402.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.01298, allocations: 367.6 kB / 403 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.01597, allocations: 1.863 MB / 404.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.01688, allocations: 286 kB / 405.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.01717, allocations: 157.3 kB / 405.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.01722, allocations: 16.2 kB / 405.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.01725, allocations: 34.84 kB / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.01725, allocations: 0 / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009658/0.01822, allocations: 454.3 kB / 405.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.01829, allocations: 55.41 kB / 405.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.01875, allocations: 401.8 kB / 406.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.01879, allocations: 33.7 kB / 406.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.01903, allocations: 276.4 kB / 406.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.01915, allocations: 134.9 kB / 406.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.01936, allocations: 94.19 kB / 406.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.01957, allocations: 358.8 kB / 407.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.01989, allocations: 129.1 kB / 407.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.02026, allocations: 279 kB / 407.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.0227, allocations: 0.8315 MB / 408.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.0227, allocations: 0 / 408.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000928/0.02363, allocations: 0.5397 MB / 408.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.02365, allocations: 8.594 kB / 408.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02366, allocations: 11.94 kB / 408.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.02368, allocations: 12 kB / 408.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.02424, allocations: 123.8 kB / 409 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.02425, allocations: 8 kB / 409 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.02449, allocations: 59.61 kB / 409.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.02453, allocations: 20 kB / 409.1 MB, free: 8.73 MB / 334.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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0003078/0.02484, allocations: 215.5 kB / 409.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.02491, allocations: 47.66 kB / 409.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.02578, allocations: 405.4 kB / 409.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.02579, allocations: 4 kB / 409.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.02579, allocations: 3.938 kB / 409.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.0258, allocations: 0 / 409.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.02628, allocations: 341 kB / 410.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.02629, allocations: 0 / 410.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.02687, allocations: 95.88 kB / 410.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.02688, allocations: 7.938 kB / 410.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.02692, allocations: 19.98 kB / 410.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02692, allocations: 0 / 410.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02692, allocations: 0 / 410.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.02798, allocations: 0.6176 MB / 410.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.02805, allocations: 47.59 kB / 410.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.0281, allocations: 15.94 kB / 410.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.02828, allocations: 11.98 kB / 410.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.02837, allocations: 23.95 kB / 410.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.02839, allocations: 19.92 kB / 411 MB, free: 6.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.0287, allocations: 267.1 kB / 411.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0287, allocations: 0 / 411.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.02913, allocations: 83.84 kB / 411.3 MB, free: 6.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001432/0.02927, allocations: 107.8 kB / 411.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.02996, allocations: 364 kB / 411.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02996, allocations: 0 / 411.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.03025, allocations: 159.8 kB / 411.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.03062, allocations: 41.3 kB / 412 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.03232, allocations: 0.9224 MB / 412.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.03261, allocations: 268.7 kB / 413.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.03285, allocations: 83.36 kB / 413.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.03298, allocations: 36.5 kB / 413.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.03298, allocations: 0 / 413.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of Templates: time 0.007806/0.04078, allocations: 2.599 MB / 415.9 MB, free: 1.875 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.513516418635845] Failed to read output from testmodel.py, exit status != 0: 0.049111928790807724 0.065211724 0.053165018 Calling exit ...