Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.00129/0.00129, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001693/0.001693, allocations: 215 kB / 23.04 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.06167/0.06167, allocations: 11.34 MB / 324.6 MB, free: 8.246 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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="cs",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.002142/0.002142, allocations: 63.91 kB / 451.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 56.06 MB / 0.496 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003771/0.1156, allocations: 2.312 MB / 0.4982 GB, free: 56 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1169, allocations: 0.5896 MB / 0.4988 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1171, allocations: 19.75 kB / 0.4988 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1174, allocations: 63.33 kB / 0.4989 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1175, allocations: 39.55 kB / 0.4989 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.1183, allocations: 319.2 kB / 0.4992 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.119, allocations: 0.6141 MB / 0.4998 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1192, allocations: 77.45 kB / 0.4999 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.1194, allocations: 191.3 kB / 0.5001 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1197, allocations: 207 kB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.1197, allocations: 32 kB / 0.5003 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.1198, allocations: 32 kB / 0.5004 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1199, allocations: 143.5 kB / 0.5005 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1201, allocations: 194.8 kB / 0.5007 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1205, allocations: 417.9 kB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1205, allocations: 4 kB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1205, allocations: 0 / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1205, allocations: 0 / 0.5011 GB, free: 13.14 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.001179/0.1217, allocations: 0.6882 MB / 0.5017 GB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1217, allocations: 12.03 kB / 0.5018 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.169e-05/0.1218, allocations: 13.19 kB / 0.5018 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.81e-05/0.1218, allocations: 74.72 kB / 0.5018 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.1219, allocations: 64.55 kB / 0.5019 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.1225, allocations: 344.6 kB / 0.5022 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.1225, allocations: 33.38 kB / 0.5023 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.1226, allocations: 40.38 kB / 0.5023 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.1233, allocations: 496.3 kB / 0.5028 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1233, allocations: 3.953 kB / 0.5028 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.1234, allocations: 16 kB / 0.5028 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1234, allocations: 12 kB / 0.5028 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.124, allocations: 339.7 kB / 0.5031 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.1265, allocations: 1.909 MB / 0.505 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.1272, allocations: 218.4 kB / 0.5052 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1274, allocations: 120.7 kB / 0.5053 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1274, allocations: 4 kB / 0.5053 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1275, allocations: 34.56 kB / 0.5054 GB, free: 8.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.1275, allocations: 0 / 0.5054 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007041/0.1282, allocations: 369.5 kB / 0.5057 GB, free: 8.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1282, allocations: 59.41 kB / 0.5058 GB, free: 8.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1287, allocations: 437.8 kB / 0.5062 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1287, allocations: 29.64 kB / 0.5062 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1289, allocations: 276.1 kB / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.129, allocations: 107.1 kB / 0.5066 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1291, allocations: 94.02 kB / 0.5067 GB, free: 7.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1293, allocations: 354.8 kB / 0.507 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.1295, allocations: 112.8 kB / 0.5071 GB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.1299, allocations: 282.3 kB / 0.5074 GB, free: 6.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.1318, allocations: 0.733 MB / 0.5081 GB, free: 5.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1318, allocations: 0 / 0.5081 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007834/0.1326, allocations: 0.5004 MB / 0.5086 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1326, allocations: 18.58 kB / 0.5086 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1326, allocations: 4 kB / 0.5086 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1326, allocations: 12.66 kB / 0.5086 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.1331, allocations: 119.8 kB / 0.5087 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1331, allocations: 8 kB / 0.5087 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1333, allocations: 63.55 kB / 0.5088 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1333, allocations: 20 kB / 0.5088 GB, free: 4.785 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0002647/0.1336, allocations: 206.6 kB / 0.509 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.1336, allocations: 47.72 kB / 0.5091 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.1343, allocations: 341.6 kB / 0.5094 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1343, allocations: 4 kB / 0.5094 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1343, allocations: 0 / 0.5094 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1343, allocations: 3.984 kB / 0.5094 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1347, allocations: 396.3 kB / 0.5098 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1348, allocations: 0 / 0.5098 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.1352, allocations: 83.88 kB / 0.5099 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1352, allocations: 0 / 0.5099 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1352, allocations: 15.88 kB / 0.5099 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1352, allocations: 0 / 0.5099 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1352, allocations: 4 kB / 0.5099 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.136, allocations: 0.5275 MB / 0.5104 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.136, allocations: 43.66 kB / 0.5104 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.1361, allocations: 11.94 kB / 0.5104 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1362, allocations: 15.98 kB / 0.5105 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1363, allocations: 19.95 kB / 0.5105 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1363, allocations: 12 kB / 0.5105 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.1366, allocations: 291.1 kB / 0.5108 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1366, allocations: 0 / 0.5108 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.137, allocations: 79.78 kB / 0.5108 GB, free: 2.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.001093/0.1381, allocations: 1.082 MB / 0.5119 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.1386, allocations: 308.6 kB / 0.5122 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1387, allocations: 8.375 kB / 0.5122 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1389, allocations: 131.8 kB / 0.5123 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1392, allocations: 39.7 kB / 0.5124 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/0.3318, allocations: 3.989 MB / 0.5163 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3321, allocations: 0.8525 MB / 0.5171 GB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.3323, allocations: 81.48 kB / 0.5172 GB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3325, allocations: 160.2 kB / 0.5173 GB, free: 20.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3325, allocations: 1 kB / 0.5173 GB, free: 20.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3622, allocations: 7.421 MB / 0.5246 GB, free: 20.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 7.609 kB / 0.5246 GB, free: 20.18 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.102381387958303] Failed to read output from testmodel.py, exit status != 0: 11.674094034009613 11.696024692 11.571642851 Calling exit ...