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.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.001775/0.001775, allocations: 102 kB / 16.4 MB, free: 6.496 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.002124/0.002124, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.39/1.39, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06445/0.06445, allocations: 11.2 MB / 308.4 MB, free: 1.949 MB / 238.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-master/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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.22 kB / 426.1 MB, free: 18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1041, allocations: 51.98 MB / 478 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003421/0.1075, allocations: 2.266 MB / 480.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1089, allocations: 0.7103 MB / 481 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.109, allocations: 19.81 kB / 481 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1093, allocations: 63.33 kB / 481.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1095, allocations: 55.47 kB / 481.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.1101, allocations: 343.3 kB / 481.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000663/0.1108, allocations: 0.6063 MB / 482.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.111, allocations: 97.03 kB / 482.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1113, allocations: 223.2 kB / 482.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.1116, allocations: 215 kB / 482.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.1117, allocations: 32 kB / 482.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.1117, allocations: 36 kB / 482.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1119, allocations: 135.6 kB / 482.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1121, allocations: 214.5 kB / 483 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1126, allocations: 434 kB / 483.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1126, allocations: 4 kB / 483.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1126, allocations: 0 / 483.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1126, allocations: 3.938 kB / 483.5 MB, free: 8.523 MB / 350.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.001361/0.114, allocations: 0.8257 MB / 484.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.114, allocations: 11.89 kB / 484.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.678e-05/0.1141, allocations: 78.7 kB / 484.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.1142, allocations: 64.56 kB / 484.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.1148, allocations: 446.2 kB / 484.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.115, allocations: 84.97 kB / 484.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.115, allocations: 52.27 kB / 485 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.1159, allocations: 0.5003 MB / 485.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1159, allocations: 4 kB / 485.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.116, allocations: 16 kB / 485.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.116, allocations: 12 kB / 485.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/0.1166, allocations: 371.6 kB / 485.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.1196, allocations: 2.054 MB / 487.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.1205, allocations: 306.2 kB / 488.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1208, allocations: 169.3 kB / 488.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1208, allocations: 4.281 kB / 488.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1209, allocations: 38.84 kB / 488.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.1209, allocations: 0 / 488.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008879/0.1218, allocations: 454.6 kB / 488.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1218, allocations: 59.41 kB / 489 MB, free: 2.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.1223, allocations: 453.8 kB / 489.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1224, allocations: 29.7 kB / 489.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.1226, allocations: 272.2 kB / 489.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1227, allocations: 130.9 kB / 489.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1228, allocations: 98.2 kB / 489.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.123, allocations: 362.7 kB / 490.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1233, allocations: 141 kB / 490.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.1237, allocations: 278.6 kB / 490.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.1259, allocations: 0.8206 MB / 491.5 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.126, allocations: 8 kB / 491.5 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009168/0.1269, allocations: 0.5323 MB / 492 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1269, allocations: 8 kB / 492 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1269, allocations: 4 kB / 492.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.127, allocations: 11.98 kB / 492.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.1275, allocations: 119.8 kB / 492.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.1275, allocations: 11.98 kB / 492.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1277, allocations: 59.95 kB / 492.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.1278, allocations: 24 kB / 492.3 MB, free: 15.25 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: 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.0003138/0.1281, allocations: 216.1 kB / 492.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.1282, allocations: 43.72 kB / 492.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.129, allocations: 421.3 kB / 492.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1291, allocations: 7.984 kB / 492.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1291, allocations: 4 kB / 493 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1291, allocations: 7.938 kB / 493 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.1297, allocations: 457 kB / 493.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.1297, allocations: 7.984 kB / 493.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.1303, allocations: 91.88 kB / 493.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1303, allocations: 0 / 493.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.1303, allocations: 12 kB / 493.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1304, allocations: 4 kB / 493.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1304, allocations: 0 / 493.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.1314, allocations: 0.6329 MB / 494.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1315, allocations: 132.6 kB / 494.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.1315, allocations: 8 kB / 494.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1317, allocations: 15.98 kB / 494.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.1318, allocations: 19.97 kB / 494.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.1318, allocations: 15.98 kB / 494.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.1322, allocations: 299.1 kB / 494.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1322, allocations: 0 / 494.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1326, allocations: 83.84 kB / 494.7 MB, free: 12.72 MB / 366.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.001278/0.1339, allocations: 1.178 MB / 495.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006912/0.1346, allocations: 375.3 kB / 496.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1346, allocations: 1.188 kB / 496.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.1349, allocations: 172.2 kB / 496.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1353, allocations: 49.95 kB / 496.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.1408, allocations: 4.252 MB / 0.489 GB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.1414, allocations: 0.8702 MB / 0.4898 GB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.1416, allocations: 96.14 kB / 0.4899 GB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.1419, allocations: 175.4 kB / 0.4901 GB, free: 5.309 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1419, allocations: 0 / 0.4901 GB, free: 5.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.1741, allocations: 7.671 MB / 0.4976 GB, free: 13.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.725, allocations: 8.688 kB / 0.4976 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.229869131930172] Failed to read output from testmodel.py, exit status != 0: 8.805599883198738 8.821145817 8.705757078 Calling exit ...