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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.01 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.06447/0.06447, allocations: 11.34 MB / 317.6 MB, free: 13.75 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 443 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1242, allocations: 54.88 MB / 497.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003517/0.1278, allocations: 2.228 MB / 0.4884 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.1287, allocations: 463.9 kB / 0.4889 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1288, allocations: 15.81 kB / 0.4889 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.129, allocations: 67.31 kB / 0.4889 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.1291, allocations: 31.62 kB / 0.489 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.1297, allocations: 243.5 kB / 0.4892 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006564/0.1304, allocations: 0.5548 MB / 0.4897 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1305, allocations: 72.94 kB / 0.4898 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.1307, allocations: 167.4 kB / 0.49 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1309, allocations: 187.1 kB / 0.4901 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.131, allocations: 31.94 kB / 0.4902 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.78e-05/0.1311, allocations: 28 kB / 0.4902 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1312, allocations: 131.5 kB / 0.4903 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1314, allocations: 186.8 kB / 0.4905 GB, free: 11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.1318, allocations: 386 kB / 0.4909 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1318, allocations: 0 / 0.4909 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1318, allocations: 0 / 0.4909 GB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1318, allocations: 4 kB / 0.4909 GB, free: 10.62 MB / 366.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.001161/0.133, allocations: 0.6727 MB / 0.4915 GB, free: 9.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.133, allocations: 12.03 kB / 0.4916 GB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.1331, allocations: 56.56 kB / 0.4916 GB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.1337, allocations: 320.8 kB / 0.4919 GB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.1337, allocations: 29.38 kB / 0.4919 GB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.1338, allocations: 48.33 kB / 0.492 GB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1345, allocations: 459.9 kB / 0.4924 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1346, allocations: 4.188 kB / 0.4924 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1346, allocations: 23.94 kB / 0.4924 GB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1346, allocations: 8 kB / 0.4925 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.1352, allocations: 326.3 kB / 0.4928 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1377, allocations: 1.848 MB / 0.4946 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.1381, allocations: 175.9 kB / 0.4947 GB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1383, allocations: 100.8 kB / 0.4948 GB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1384, allocations: 4 kB / 0.4948 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1384, allocations: 30.94 kB / 0.4949 GB, free: 6.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.1384, allocations: 4 kB / 0.4949 GB, free: 6.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006609/0.1391, allocations: 336.5 kB / 0.4952 GB, free: 5.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1391, allocations: 51.41 kB / 0.4952 GB, free: 5.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.1396, allocations: 429.8 kB / 0.4957 GB, free: 5.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1396, allocations: 29.7 kB / 0.4957 GB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1398, allocations: 264.2 kB / 0.4959 GB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.1399, allocations: 91.27 kB / 0.496 GB, free: 5.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.14, allocations: 81.64 kB / 0.4961 GB, free: 5.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1401, allocations: 354.8 kB / 0.4964 GB, free: 4.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1403, allocations: 100.4 kB / 0.4965 GB, free: 4.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.1406, allocations: 249.3 kB / 0.4968 GB, free: 4.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.1422, allocations: 0.6237 MB / 0.4974 GB, free: 3.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1422, allocations: 4 kB / 0.4974 GB, free: 3.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007552/0.1429, allocations: 461.3 kB / 0.4978 GB, free: 3.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1429, allocations: 8 kB / 0.4978 GB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1429, allocations: 4 kB / 0.4978 GB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.143, allocations: 8 kB / 0.4978 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.1433, allocations: 95.81 kB / 0.4979 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.1434, allocations: 11.94 kB / 0.4979 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1436, allocations: 59.61 kB / 0.498 GB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.1436, allocations: 19.98 kB / 0.498 GB, free: 2.906 MB / 366.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.0003134/0.1439, allocations: 201.5 kB / 0.4982 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.144, allocations: 39.72 kB / 0.4983 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.1446, allocations: 300.6 kB / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1446, allocations: 0 / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1446, allocations: 3.938 kB / 0.4985 GB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1446, allocations: 3.984 kB / 0.4985 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1452, allocations: 368.4 kB / 0.4989 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1452, allocations: 0 / 0.4989 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.1455, allocations: 55.95 kB / 0.499 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1455, allocations: 4 kB / 0.499 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1455, allocations: 12 kB / 0.499 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1455, allocations: 0 / 0.499 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1455, allocations: 3.938 kB / 0.499 GB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.1463, allocations: 482.8 kB / 0.4994 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.1464, allocations: 39.69 kB / 0.4995 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.1464, allocations: 8 kB / 0.4995 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1465, allocations: 19.98 kB / 0.4995 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.1466, allocations: 19.91 kB / 0.4995 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1466, allocations: 4 kB / 0.4995 GB, free: 1.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.1469, allocations: 287.1 kB / 0.4998 GB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1469, allocations: 0 / 0.4998 GB, free: 1.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1473, allocations: 75.78 kB / 0.4999 GB, free: 0.9492 MB / 366.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.0001261/0.1474, allocations: 113.5 kB / 0.5 GB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.148, allocations: 275.5 kB / 0.5002 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.148, allocations: 0 / 0.5002 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.1482, allocations: 105.2 kB / 0.5003 GB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1486, allocations: 38.64 kB / 0.5004 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1499, allocations: 0.8148 MB / 0.5012 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.1503, allocations: 0.842 MB / 0.502 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.1505, allocations: 75.22 kB / 0.5021 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.1506, allocations: 27.44 kB / 0.5021 GB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1506, allocations: 0 / 0.5021 GB, free: 14.62 MB / 382.1 MB Notification: Performance of Templates: time 0.009144/0.1597, allocations: 2.621 MB / 0.5046 GB, free: 12 MB / 382.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1728293700143695] Failed to read output from testmodel.py, exit status != 0: 0.16829257644712925 0.507771352 0.370868648 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7d356257b0>