Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001438/0.001438, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.001642/0.001642, allocations: 218.9 kB / 23.03 MB, free: 4.953 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.06183/0.06183, allocations: 11.34 MB / 324.6 MB, free: 8.023 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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_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.001956/0.001956, allocations: 67.91 kB / 451.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.114, allocations: 56.07 MB / 0.4959 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003494/0.1175, allocations: 2.096 MB / 0.498 GB, free: 40 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1186, allocations: 0.5349 MB / 0.4985 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1187, allocations: 15.81 kB / 0.4985 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.119, allocations: 71.31 kB / 0.4986 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.998e-05/0.1191, allocations: 27.62 kB / 0.4986 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.1197, allocations: 295.5 kB / 0.4989 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000729/0.1205, allocations: 0.586 MB / 0.4994 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1206, allocations: 77.47 kB / 0.4995 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1209, allocations: 191.3 kB / 0.4997 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1211, allocations: 191.1 kB / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.1212, allocations: 35.98 kB / 0.4999 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.1212, allocations: 28 kB / 0.4999 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1214, allocations: 135.6 kB / 0.5001 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1216, allocations: 147.1 kB / 0.5002 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.122, allocations: 410 kB / 0.5006 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.122, allocations: 0 / 0.5006 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.122, allocations: 4 kB / 0.5006 GB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1221, allocations: 0 / 0.5006 GB, free: 13.31 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001253/0.1233, allocations: 0.6883 MB / 0.5013 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1234, allocations: 12.03 kB / 0.5013 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.941e-05/0.1234, allocations: 17.12 kB / 0.5013 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.1235, allocations: 74.72 kB / 0.5014 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.1235, allocations: 56.61 kB / 0.5014 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.1241, allocations: 332.7 kB / 0.5018 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.808e-05/0.1242, allocations: 88.95 kB / 0.5018 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.1242, allocations: 40.38 kB / 0.5019 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.125, allocations: 479.5 kB / 0.5023 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.125, allocations: 7.891 kB / 0.5023 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1251, allocations: 16 kB / 0.5024 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1251, allocations: 12 kB / 0.5024 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.1257, allocations: 326.3 kB / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.1283, allocations: 1.848 MB / 0.5045 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.1288, allocations: 174.4 kB / 0.5047 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.129, allocations: 120.7 kB / 0.5048 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.129, allocations: 4 kB / 0.5048 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.129, allocations: 46.86 kB / 0.5048 GB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.129, allocations: 0 / 0.5048 GB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.000696/0.1297, allocations: 339.1 kB / 0.5051 GB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1298, allocations: 55.34 kB / 0.5052 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.1302, allocations: 429.8 kB / 0.5056 GB, free: 7.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1303, allocations: 33.7 kB / 0.5056 GB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1305, allocations: 264.1 kB / 0.5059 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.1305, allocations: 99.27 kB / 0.506 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1307, allocations: 86.02 kB / 0.5061 GB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1308, allocations: 354.8 kB / 0.5064 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.131, allocations: 104.7 kB / 0.5065 GB, free: 7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1313, allocations: 250.2 kB / 0.5067 GB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.1329, allocations: 0.6888 MB / 0.5074 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1329, allocations: 0 / 0.5074 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007352/0.1337, allocations: 480.9 kB / 0.5079 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1337, allocations: 11.98 kB / 0.5079 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1337, allocations: 7.984 kB / 0.5079 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.1337, allocations: 8 kB / 0.5079 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.1341, allocations: 100.5 kB / 0.508 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1341, allocations: 11.94 kB / 0.508 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1343, allocations: 55.59 kB / 0.5081 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1344, allocations: 20 kB / 0.5081 GB, free: 5.25 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: 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 (54): * Single equations (assignments): 54 * 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.0002678/0.1346, allocations: 207.4 kB / 0.5083 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.1347, allocations: 47.72 kB / 0.5083 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.1353, allocations: 298.8 kB / 0.5086 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1353, allocations: 4 kB / 0.5086 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1353, allocations: 0 / 0.5086 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1353, allocations: 0 / 0.5086 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1357, allocations: 364.3 kB / 0.509 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1357, allocations: 3.984 kB / 0.509 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.1361, allocations: 67.94 kB / 0.509 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1361, allocations: 4 kB / 0.509 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1362, allocations: 8 kB / 0.509 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1362, allocations: 0 / 0.509 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1362, allocations: 0 / 0.509 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.1369, allocations: 0.4946 MB / 0.5095 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.137, allocations: 47.66 kB / 0.5096 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.137, allocations: 4 kB / 0.5096 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1372, allocations: 19.98 kB / 0.5096 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1372, allocations: 15.95 kB / 0.5096 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1372, allocations: 8 kB / 0.5096 GB, free: 3.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1375, allocations: 287.1 kB / 0.5099 GB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1375, allocations: 0 / 0.5099 GB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1379, allocations: 71.84 kB / 0.51 GB, free: 3.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.001018/0.1389, allocations: 1.045 MB / 0.511 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.1394, allocations: 287.7 kB / 0.5112 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1394, allocations: 1.312 kB / 0.5113 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.1396, allocations: 114.7 kB / 0.5114 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.14, allocations: 48.45 kB / 0.5114 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.3327, allocations: 3.85 MB / 0.5152 GB, free: 21.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.3329, allocations: 237.3 kB / 0.5154 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.333, allocations: 78.5 kB / 0.5155 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3332, allocations: 152.9 kB / 0.5156 GB, free: 21.57 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3332, allocations: 0 / 0.5156 GB, free: 21.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3617, allocations: 6.897 MB / 0.5223 GB, free: 20.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.57, allocations: 5.688 kB / 0.5224 GB, free: 20.85 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.103943287045695] Failed to read output from testmodel.py, exit status != 0: 11.731413095025346 11.743696518 11.618975071 Calling exit ...