Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001819/0.001819, allocations: 107.3 kB / 16.46 MB, free: 6.504 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.001951/0.001951, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.08759/0.08759, allocations: 11.35 MB / 314 MB, free: 14.94 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.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 437.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 54.84 MB / 492.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003469/0.1165, allocations: 2.209 MB / 494.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.1175, allocations: 456 kB / 494.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1176, allocations: 15.88 kB / 494.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1178, allocations: 59.33 kB / 494.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1179, allocations: 39.61 kB / 494.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1185, allocations: 211.6 kB / 495.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.119, allocations: 0.5003 MB / 495.7 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1192, allocations: 76.84 kB / 495.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1194, allocations: 163.4 kB / 495.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1196, allocations: 183.1 kB / 496.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.1197, allocations: 32 kB / 496.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.1197, allocations: 28 kB / 496.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1199, allocations: 135.6 kB / 496.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.12, allocations: 182.8 kB / 496.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.1205, allocations: 390 kB / 496.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1205, allocations: 4 kB / 496.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1205, allocations: 0 / 496.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1205, allocations: 0 / 496.8 MB, free: 14.82 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001167/0.1217, allocations: 0.7441 MB / 497.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1217, allocations: 15.83 kB / 497.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.1218, allocations: 74.72 kB / 497.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.1219, allocations: 60.56 kB / 497.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.1224, allocations: 399.9 kB / 498.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1225, allocations: 33.38 kB / 498.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.1225, allocations: 40.33 kB / 498.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.1232, allocations: 459.9 kB / 498.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.1233, allocations: 15.92 kB / 498.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1233, allocations: 16 kB / 498.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1233, allocations: 8 kB / 498.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.1239, allocations: 314.3 kB / 499 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.1264, allocations: 1.884 MB / 0.4891 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.1268, allocations: 174.5 kB / 0.4893 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.127, allocations: 104.8 kB / 0.4894 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1271, allocations: 0 / 0.4894 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1271, allocations: 46.88 kB / 0.4894 GB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.1271, allocations: 0 / 0.4894 GB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006593/0.1278, allocations: 323.8 kB / 0.4897 GB, free: 9.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1278, allocations: 51.41 kB / 0.4898 GB, free: 9.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.1283, allocations: 433.8 kB / 0.4902 GB, free: 9.395 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1283, allocations: 33.64 kB / 0.4902 GB, free: 9.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1285, allocations: 260.2 kB / 0.4905 GB, free: 9.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.1286, allocations: 95.27 kB / 0.4906 GB, free: 9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1287, allocations: 81.64 kB / 0.4906 GB, free: 8.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1289, allocations: 354.8 kB / 0.491 GB, free: 8.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1291, allocations: 96.36 kB / 0.4911 GB, free: 8.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.1294, allocations: 249.4 kB / 0.4913 GB, free: 8.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.131, allocations: 0.6321 MB / 0.4919 GB, free: 7.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.131, allocations: 4 kB / 0.4919 GB, free: 7.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000732/0.1317, allocations: 457.2 kB / 0.4924 GB, free: 7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1317, allocations: 8 kB / 0.4924 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1317, allocations: 4 kB / 0.4924 GB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1318, allocations: 8 kB / 0.4924 GB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.1321, allocations: 99.81 kB / 0.4925 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1321, allocations: 11.88 kB / 0.4925 GB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1323, allocations: 55.61 kB / 0.4925 GB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.1323, allocations: 20 kB / 0.4926 GB, free: 6.797 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: 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 (51): * Single equations (assignments): 51 * 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.0002756/0.1326, allocations: 199.4 kB / 0.4928 GB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1327, allocations: 43.72 kB / 0.4928 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.1333, allocations: 289.1 kB / 0.4931 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1333, allocations: 4 kB / 0.4931 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1333, allocations: 3.938 kB / 0.4931 GB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1333, allocations: 0 / 0.4931 GB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1338, allocations: 393.3 kB / 0.4935 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1338, allocations: 0 / 0.4935 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.1341, allocations: 63.89 kB / 0.4935 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1341, allocations: 4 kB / 0.4935 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.1342, allocations: 11.98 kB / 0.4935 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1342, allocations: 0 / 0.4935 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1342, allocations: 3.938 kB / 0.4935 GB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.1349, allocations: 476.5 kB / 0.494 GB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.135, allocations: 120.8 kB / 0.4941 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1351, allocations: 11.98 kB / 0.4941 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1352, allocations: 15.92 kB / 0.4941 GB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.1353, allocations: 19.92 kB / 0.4942 GB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1353, allocations: 4 kB / 0.4942 GB, free: 5.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.1356, allocations: 291.2 kB / 0.4944 GB, free: 4.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1356, allocations: 0 / 0.4944 GB, free: 4.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.136, allocations: 71.84 kB / 0.4945 GB, free: 4.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.00105/0.137, allocations: 1.019 MB / 0.4955 GB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1376, allocations: 272.9 kB / 0.4958 GB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1376, allocations: 0 / 0.4958 GB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1378, allocations: 107.8 kB / 0.4959 GB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1381, allocations: 45.48 kB / 0.4959 GB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.143, allocations: 3.744 MB / 0.4996 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.1435, allocations: 0.8499 MB / 0.5004 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1437, allocations: 79.22 kB / 0.5005 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1439, allocations: 147.4 kB / 0.5006 GB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1439, allocations: 0 / 0.5006 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.1772, allocations: 6.482 MB / 0.5069 GB, free: 7.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.685, allocations: 0.75 kB / 0.5069 GB, free: 7.887 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.596519869286567] Failed to read output from testmodel.py, exit status != 0: 8.759183439891785 8.968058944 8.844941765 Calling exit ...