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.001274/0.001274, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001445/0.001445, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.06589/0.06589, allocations: 11.34 MB / 324.5 MB, free: 8.234 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.002028/0.002028, allocations: 59.91 kB / 452.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1141, allocations: 56.07 MB / 0.4964 GB, free: 1.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003718/0.1178, allocations: 2.313 MB / 0.4987 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1192, allocations: 0.7142 MB / 0.4994 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1194, allocations: 27.69 kB / 0.4994 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1196, allocations: 67.33 kB / 0.4995 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1198, allocations: 47.53 kB / 0.4995 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.1206, allocations: 379.2 kB / 0.4999 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.1214, allocations: 0.653 MB / 0.5005 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.1216, allocations: 85.11 kB / 0.5006 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.1219, allocations: 235.1 kB / 0.5008 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1222, allocations: 211 kB / 0.501 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.1223, allocations: 36 kB / 0.5011 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.489e-05/0.1223, allocations: 32 kB / 0.5011 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1225, allocations: 147.5 kB / 0.5012 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1227, allocations: 214.6 kB / 0.5014 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.1232, allocations: 441.9 kB / 0.5019 GB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1232, allocations: 0 / 0.5019 GB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1232, allocations: 0 / 0.5019 GB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1232, allocations: 0 / 0.5019 GB, free: 12.27 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.001357/0.1245, allocations: 0.7466 MB / 0.5026 GB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1246, allocations: 8.031 kB / 0.5026 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.1247, allocations: 60.56 kB / 0.5027 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.1253, allocations: 382.8 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.1254, allocations: 88.97 kB / 0.5031 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.1255, allocations: 48.33 kB / 0.5032 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.1263, allocations: 0.4888 MB / 0.5036 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.1263, allocations: 11.94 kB / 0.5036 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1264, allocations: 16 kB / 0.5037 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1264, allocations: 12 kB / 0.5037 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.127, allocations: 371.6 kB / 0.504 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.13, allocations: 2.014 MB / 0.506 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.1309, allocations: 291.2 kB / 0.5063 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1312, allocations: 165.3 kB / 0.5064 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.1312, allocations: 4.281 kB / 0.5064 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1312, allocations: 38.78 kB / 0.5065 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.1313, allocations: 0 / 0.5065 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008722/0.1321, allocations: 450.7 kB / 0.5069 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1322, allocations: 55.41 kB / 0.507 GB, free: 6.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.1327, allocations: 453.8 kB / 0.5074 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1327, allocations: 37.7 kB / 0.5074 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1329, allocations: 264.2 kB / 0.5077 GB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.133, allocations: 134.8 kB / 0.5078 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1331, allocations: 94.14 kB / 0.5079 GB, free: 5.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1333, allocations: 366.7 kB / 0.5082 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1336, allocations: 141.1 kB / 0.5084 GB, free: 5.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.1339, allocations: 282.9 kB / 0.5086 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.1362, allocations: 0.828 MB / 0.5095 GB, free: 4.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1362, allocations: 0 / 0.5095 GB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009012/0.1371, allocations: 0.5439 MB / 0.51 GB, free: 3.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1371, allocations: 4 kB / 0.51 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1371, allocations: 8 kB / 0.51 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.1371, allocations: 4 kB / 0.51 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.1377, allocations: 127.8 kB / 0.5101 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.1377, allocations: 7.938 kB / 0.5101 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1379, allocations: 59.89 kB / 0.5102 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1379, allocations: 27.98 kB / 0.5102 GB, free: 3.32 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.0002877/0.1382, allocations: 199.5 kB / 0.5104 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.1383, allocations: 47.67 kB / 0.5105 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.1391, allocations: 413.9 kB / 0.5108 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1391, allocations: 11.98 kB / 0.5109 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1391, allocations: 0 / 0.5109 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1391, allocations: 4 kB / 0.5109 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.1396, allocations: 436.2 kB / 0.5113 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1396, allocations: 0 / 0.5113 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.1402, allocations: 99.86 kB / 0.5114 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1402, allocations: 4 kB / 0.5114 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.1402, allocations: 8 kB / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1402, allocations: 0 / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1402, allocations: 0 / 0.5114 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.1411, allocations: 0.6406 MB / 0.512 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.1412, allocations: 47.64 kB / 0.5121 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.1413, allocations: 15.94 kB / 0.5121 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1415, allocations: 15.98 kB / 0.5121 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.1415, allocations: 23.95 kB / 0.5121 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1415, allocations: 8 kB / 0.5121 GB, free: 1.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.1419, allocations: 303.1 kB / 0.5124 GB, free: 1 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1419, allocations: 4 kB / 0.5124 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.1423, allocations: 87.78 kB / 0.5125 GB, free: 0.9102 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.0001247/0.1424, allocations: 107.1 kB / 0.5126 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006585/0.143, allocations: 368.4 kB / 0.5129 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.143, allocations: 0 / 0.5129 GB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.1433, allocations: 167.5 kB / 0.5131 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1437, allocations: 49.53 kB / 0.5132 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1924/0.3361, allocations: 1.006 MB / 0.5141 GB, free: 23.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3364, allocations: 0.8703 MB / 0.515 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3366, allocations: 41.16 kB / 0.515 GB, free: 22.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3366, allocations: 1.406 kB / 0.515 GB, free: 22.41 MB / 382.1 MB Notification: Performance of Templates: time 0.008426/0.345, allocations: 5.342 MB / 0.5202 GB, free: 22.09 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: 7.652354225050658] Failed to read output from testmodel.py, exit status != 0: 0.35344781703315675 0.36688587699999997 0.24102155999999994 Calling exit ...