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.001358/0.001358, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001558/0.001558, allocations: 214.4 kB / 22.26 MB, free: 5.082 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.027 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.07896/0.07896, allocations: 11.34 MB / 323.8 MB, free: 8.273 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: "" <> 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: 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.002144/0.002144, allocations: 71.89 kB / 451 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1176, allocations: 56.06 MB / 0.4952 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.004085/0.1217, allocations: 2.301 MB / 0.4975 GB, free: 96 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1235, allocations: 0.7221 MB / 0.4982 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.1238, allocations: 27.69 kB / 0.4982 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.124, allocations: 63.33 kB / 0.4983 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1243, allocations: 51.47 kB / 0.4983 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.1253, allocations: 375.2 kB / 0.4987 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009492/0.1262, allocations: 0.6492 MB / 0.4993 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1264, allocations: 81.34 kB / 0.4994 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1268, allocations: 235.2 kB / 0.4996 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.1272, allocations: 219 kB / 0.4998 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.1273, allocations: 32 kB / 0.4998 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.1273, allocations: 36 kB / 0.4999 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1275, allocations: 147.5 kB / 0.5 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.1278, allocations: 210.6 kB / 0.5002 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1283, allocations: 437.9 kB / 0.5006 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1283, allocations: 0 / 0.5006 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1283, allocations: 0 / 0.5006 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.1283, allocations: 0 / 0.5006 GB, free: 12.83 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.001485/0.1298, allocations: 0.7465 MB / 0.5014 GB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1299, allocations: 12.03 kB / 0.5014 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/0.13, allocations: 78.72 kB / 0.5015 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1301, allocations: 60.56 kB / 0.5015 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.1308, allocations: 386.8 kB / 0.5019 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.1309, allocations: 88.97 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.1309, allocations: 44.33 kB / 0.502 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00086/0.1318, allocations: 0.5042 MB / 0.5025 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.1318, allocations: 4 kB / 0.5025 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.1319, allocations: 16 kB / 0.5025 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1319, allocations: 12 kB / 0.5025 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1326, allocations: 375.6 kB / 0.5029 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.1358, allocations: 2.014 MB / 0.5049 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.1367, allocations: 287.2 kB / 0.5051 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.137, allocations: 157.3 kB / 0.5053 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.1371, allocations: 12.27 kB / 0.5053 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1371, allocations: 38.84 kB / 0.5053 GB, free: 7.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.1371, allocations: 3.938 kB / 0.5053 GB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009128/0.138, allocations: 450.7 kB / 0.5058 GB, free: 7.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1381, allocations: 55.34 kB / 0.5058 GB, free: 7.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.1386, allocations: 449.8 kB / 0.5062 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1386, allocations: 33.7 kB / 0.5063 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1389, allocations: 268.2 kB / 0.5065 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.139, allocations: 134.8 kB / 0.5067 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1392, allocations: 98.14 kB / 0.5068 GB, free: 6.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1393, allocations: 362.7 kB / 0.5071 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.1396, allocations: 137.1 kB / 0.5072 GB, free: 5.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.14, allocations: 279 kB / 0.5075 GB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.1424, allocations: 0.8358 MB / 0.5083 GB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1424, allocations: 0 / 0.5083 GB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001001/0.1434, allocations: 0.5403 MB / 0.5088 GB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1434, allocations: 4 kB / 0.5088 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1434, allocations: 12.03 kB / 0.5089 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.1434, allocations: 4 kB / 0.5089 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.1442, allocations: 127.8 kB / 0.509 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1442, allocations: 4 kB / 0.509 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.1444, allocations: 63.61 kB / 0.509 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1444, allocations: 20 kB / 0.5091 GB, free: 3.797 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.0003509/0.1448, allocations: 215.4 kB / 0.5093 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.1449, allocations: 47.67 kB / 0.5093 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.1457, allocations: 413.8 kB / 0.5097 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1457, allocations: 4 kB / 0.5097 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1457, allocations: 3.984 kB / 0.5097 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1457, allocations: 0 / 0.5097 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.1463, allocations: 432.2 kB / 0.5101 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1464, allocations: 0 / 0.5101 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.1469, allocations: 99.86 kB / 0.5102 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1469, allocations: 4 kB / 0.5102 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.1469, allocations: 12 kB / 0.5102 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1469, allocations: 0 / 0.5102 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1469, allocations: 3.938 kB / 0.5102 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1479, allocations: 0.629 MB / 0.5109 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.148, allocations: 51.64 kB / 0.5109 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.1481, allocations: 8 kB / 0.5109 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1483, allocations: 19.98 kB / 0.5109 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.1483, allocations: 23.89 kB / 0.511 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1484, allocations: 12 kB / 0.511 GB, free: 1.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003469/0.1487, allocations: 299.1 kB / 0.5113 GB, free: 1.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1487, allocations: 0 / 0.5113 GB, free: 1.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000398/0.1491, allocations: 87.78 kB / 0.5113 GB, free: 1.391 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.001341/0.1504, allocations: 1.178 MB / 0.5125 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2011/0.3516, allocations: 358.4 kB / 0.5128 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3516, allocations: 0 / 0.5128 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.3518, allocations: 159.3 kB / 0.513 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3523, allocations: 49.66 kB / 0.513 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.3564, allocations: 4.266 MB / 0.5172 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3567, allocations: 0.8619 MB / 0.518 GB, free: 20.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3569, allocations: 92.73 kB / 0.5181 GB, free: 20.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.3571, allocations: 175.6 kB / 0.5183 GB, free: 20.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3571, allocations: 0 / 0.5183 GB, free: 20.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.3964, allocations: 8.125 MB / 0.5262 GB, free: 20.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 9.328 kB / 0.5262 GB, free: 20.04 MB / 382.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.540583576075733] Failed to read output from testmodel.py, exit status != 0: 11.943366491934285 11.960060663 11.828352726 Calling exit ...