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.001452/0.001452, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00201/0.00201, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.06545/0.06545, allocations: 11.33 MB / 323.7 MB, free: 8.156 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: 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.00249/0.00249, allocations: 67.89 kB / 451.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1366, allocations: 56.07 MB / 0.4956 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003938/0.1405, allocations: 2.161 MB / 0.4977 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1422, allocations: 0.6948 MB / 0.4984 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.1425, allocations: 27.69 kB / 0.4984 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1428, allocations: 67.33 kB / 0.4985 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.143, allocations: 43.48 kB / 0.4985 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.1439, allocations: 375.3 kB / 0.4989 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.1449, allocations: 0.6452 MB / 0.4995 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1451, allocations: 73.12 kB / 0.4996 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.1456, allocations: 231.2 kB / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.1459, allocations: 203 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.146, allocations: 39.94 kB / 0.5001 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.1461, allocations: 36 kB / 0.5001 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1462, allocations: 147.5 kB / 0.5002 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1464, allocations: 170.9 kB / 0.5004 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.147, allocations: 437.8 kB / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.147, allocations: 4 kB / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.147, allocations: 0 / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.147, allocations: 0 / 0.5008 GB, free: 12.34 MB / 382.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.001517/0.1486, allocations: 0.7465 MB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1486, allocations: 8.031 kB / 0.5016 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1487, allocations: 60.56 kB / 0.5016 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.1495, allocations: 394.9 kB / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1496, allocations: 84.91 kB / 0.5021 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.1497, allocations: 48.33 kB / 0.5021 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.1506, allocations: 0.4928 MB / 0.5026 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.1506, allocations: 7.938 kB / 0.5026 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.1507, allocations: 16 kB / 0.5026 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1507, allocations: 12 kB / 0.5026 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.1514, allocations: 371.6 kB / 0.503 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.1546, allocations: 1.862 MB / 0.5048 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1555, allocations: 287.3 kB / 0.5051 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.1558, allocations: 167.7 kB / 0.5052 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1558, allocations: 4.281 kB / 0.5052 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.1559, allocations: 34.84 kB / 0.5053 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.1559, allocations: 0 / 0.5053 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009023/0.1568, allocations: 454.7 kB / 0.5057 GB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1568, allocations: 55.41 kB / 0.5058 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.1573, allocations: 405.7 kB / 0.5061 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1573, allocations: 29.7 kB / 0.5062 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.1576, allocations: 272.5 kB / 0.5064 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1577, allocations: 138.8 kB / 0.5066 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.1578, allocations: 102.1 kB / 0.5067 GB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.158, allocations: 354.8 kB / 0.507 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.1583, allocations: 133.1 kB / 0.5071 GB, free: 5.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.1587, allocations: 283 kB / 0.5074 GB, free: 5.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.161, allocations: 0.8319 MB / 0.5082 GB, free: 4.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.161, allocations: 0 / 0.5082 GB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009213/0.1619, allocations: 0.5401 MB / 0.5087 GB, free: 3.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1619, allocations: 5.875 kB / 0.5087 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1619, allocations: 11.98 kB / 0.5088 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.162, allocations: 4 kB / 0.5088 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.1625, allocations: 123.8 kB / 0.5089 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.1625, allocations: 7.984 kB / 0.5089 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1627, allocations: 63.55 kB / 0.5089 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.1628, allocations: 20.22 kB / 0.509 GB, free: 3.609 MB / 382.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.0003205/0.1631, allocations: 215 kB / 0.5092 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.1632, allocations: 43.72 kB / 0.5092 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.164, allocations: 401.6 kB / 0.5096 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.164, allocations: 7.984 kB / 0.5096 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.164, allocations: 0 / 0.5096 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.164, allocations: 0 / 0.5096 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.1645, allocations: 352.8 kB / 0.5099 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1645, allocations: 0 / 0.5099 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.1651, allocations: 107.9 kB / 0.51 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1651, allocations: 0 / 0.51 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1651, allocations: 12 kB / 0.5101 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1651, allocations: 7.984 kB / 0.5101 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1651, allocations: 0 / 0.5101 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1661, allocations: 0.6251 MB / 0.5107 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.1662, allocations: 47.61 kB / 0.5107 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.1663, allocations: 12 kB / 0.5107 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1665, allocations: 11.98 kB / 0.5107 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.1665, allocations: 27.95 kB / 0.5108 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1666, allocations: 11.94 kB / 0.5108 GB, free: 1.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.1669, allocations: 263.1 kB / 0.511 GB, free: 1.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1669, allocations: 0 / 0.511 GB, free: 1.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.1673, allocations: 87.78 kB / 0.5111 GB, free: 1.348 MB / 382.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.0001642/0.1674, allocations: 119 kB / 0.5112 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.1682, allocations: 359.3 kB / 0.5116 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1682, allocations: 0 / 0.5116 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.1684, allocations: 164.7 kB / 0.5117 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1688, allocations: 49.58 kB / 0.5118 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2485/0.4173, allocations: 0.956 MB / 0.5127 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.4176, allocations: 264.7 kB / 0.513 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.4179, allocations: 83.53 kB / 0.513 GB, free: 23.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.418, allocations: 43.88 kB / 0.5131 GB, free: 23.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.418, allocations: 0 / 0.5131 GB, free: 23.02 MB / 382.1 MB Notification: Performance of Templates: time 0.008313/0.4263, allocations: 2.954 MB / 0.516 GB, free: 22.83 MB / 382.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: 5.305890390649438] Failed to read output from testmodel.py, exit status != 0: 0.4366328939795494 0.45133435200000005 0.300933434 Calling exit ...