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.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.001328/0.001328, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001372/0.001372, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.06468/0.06468, allocations: 11.35 MB / 314 MB, free: 14.96 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-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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 67.89 kB / 437.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1129, allocations: 54.83 MB / 492.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003634/0.1165, allocations: 2.265 MB / 494.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1177, allocations: 0.5933 MB / 495 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1178, allocations: 11.94 kB / 495 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.118, allocations: 75.25 kB / 495.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1181, allocations: 31.61 kB / 495.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.1187, allocations: 283.4 kB / 495.4 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.1194, allocations: 0.5595 MB / 496 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1195, allocations: 72.8 kB / 496.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1198, allocations: 191.3 kB / 496.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.12, allocations: 203 kB / 496.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.1201, allocations: 32 kB / 496.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.1201, allocations: 32 kB / 496.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1203, allocations: 139.4 kB / 496.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1205, allocations: 198.8 kB / 496.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1209, allocations: 421.9 kB / 497.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1209, allocations: 0 / 497.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1209, allocations: 0 / 497.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1209, allocations: 0 / 497.2 MB, free: 14.43 MB / 366.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.001313/0.1222, allocations: 0.7699 MB / 498 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1223, allocations: 11.89 kB / 498 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.913e-05/0.1224, allocations: 78.72 kB / 498.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.1225, allocations: 64.5 kB / 498.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.1231, allocations: 423.7 kB / 498.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.1231, allocations: 29.38 kB / 498.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.1232, allocations: 40.38 kB / 498.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.124, allocations: 488.6 kB / 499.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.124, allocations: 11.92 kB / 499.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1241, allocations: 16 kB / 499.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1241, allocations: 8 kB / 499.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.1247, allocations: 339.7 kB / 499.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.1275, allocations: 1.941 MB / 0.4897 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.1282, allocations: 215.4 kB / 0.4899 GB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1284, allocations: 120.8 kB / 0.49 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1285, allocations: 0 / 0.49 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1285, allocations: 38.56 kB / 0.49 GB, free: 9.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.173e-06/0.1285, allocations: 0 / 0.49 GB, free: 9.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007201/0.1292, allocations: 373.4 kB / 0.4904 GB, free: 9.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1293, allocations: 55.41 kB / 0.4904 GB, free: 9.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.1297, allocations: 449.7 kB / 0.4909 GB, free: 8.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1298, allocations: 29.7 kB / 0.4909 GB, free: 8.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.13, allocations: 276 kB / 0.4912 GB, free: 8.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.1301, allocations: 95.23 kB / 0.4913 GB, free: 8.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1302, allocations: 98.06 kB / 0.4914 GB, free: 8.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1304, allocations: 350.8 kB / 0.4917 GB, free: 7.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.1306, allocations: 108.9 kB / 0.4918 GB, free: 7.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.131, allocations: 285.8 kB / 0.4921 GB, free: 7.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.1329, allocations: 0.7438 MB / 0.4928 GB, free: 6.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1329, allocations: 0 / 0.4928 GB, free: 6.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008144/0.1337, allocations: 0.4966 MB / 0.4933 GB, free: 6.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1337, allocations: 8 kB / 0.4933 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1338, allocations: 8 kB / 0.4933 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1338, allocations: 11.94 kB / 0.4933 GB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.1342, allocations: 116.5 kB / 0.4934 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1342, allocations: 15.94 kB / 0.4934 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1344, allocations: 59.61 kB / 0.4935 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.1345, allocations: 20 kB / 0.4935 GB, free: 5.855 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: 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.00027/0.1347, allocations: 210.2 kB / 0.4937 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.1348, allocations: 43.72 kB / 0.4937 GB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.1354, allocations: 333.6 kB / 0.4941 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1355, allocations: 7.938 kB / 0.4941 GB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1355, allocations: 3.938 kB / 0.4941 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.1355, allocations: 3.984 kB / 0.4941 GB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.136, allocations: 417.3 kB / 0.4945 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.136, allocations: 0 / 0.4945 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.1364, allocations: 75.95 kB / 0.4945 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1364, allocations: 0 / 0.4945 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.1364, allocations: 15.98 kB / 0.4946 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1364, allocations: 3.938 kB / 0.4946 GB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1364, allocations: 4 kB / 0.4946 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.1372, allocations: 0.5289 MB / 0.4951 GB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1373, allocations: 124.8 kB / 0.4952 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.1374, allocations: 8 kB / 0.4952 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1375, allocations: 19.92 kB / 0.4952 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.1376, allocations: 15.97 kB / 0.4952 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1376, allocations: 12 kB / 0.4953 GB, free: 3.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.1379, allocations: 295.1 kB / 0.4955 GB, free: 3.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1379, allocations: 0 / 0.4955 GB, free: 3.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.1383, allocations: 75.78 kB / 0.4956 GB, free: 3.598 MB / 366.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.001122/0.1394, allocations: 1.083 MB / 0.4967 GB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.14, allocations: 308.6 kB / 0.497 GB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.14, allocations: 320 / 0.497 GB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.1402, allocations: 131.9 kB / 0.4971 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1406, allocations: 52.55 kB / 0.4971 GB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.1456, allocations: 4.004 MB / 0.5011 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.1462, allocations: 0.862 MB / 0.5019 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000213/0.1464, allocations: 79.3 kB / 0.502 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.1466, allocations: 163.4 kB / 0.5021 GB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1466, allocations: 0 / 0.5021 GB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.1868, allocations: 7.013 MB / 0.509 GB, free: 5.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.674, allocations: 16.77 kB / 0.509 GB, free: 5.801 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.435309896245599] Failed to read output from testmodel.py, exit status != 0: 8.749517636373639 8.9358121 8.812453177 Calling exit ...