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.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.001319/0.001319, 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.001481/0.001481, allocations: 215.5 kB / 22.26 MB, free: 5.078 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.996 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.06576/0.06576, allocations: 11.35 MB / 323.8 MB, free: 8.219 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.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: 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.002044/0.002044, allocations: 63.91 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 56.07 MB / 0.4952 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004176/0.1312, allocations: 2.244 MB / 0.4974 GB, free: 76 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1324, allocations: 447.9 kB / 0.4978 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1326, allocations: 19.81 kB / 0.4979 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1329, allocations: 71.31 kB / 0.4979 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1331, allocations: 31.61 kB / 0.498 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.1339, allocations: 243.5 kB / 0.4982 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.1347, allocations: 0.5548 MB / 0.4987 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.135, allocations: 73.47 kB / 0.4988 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1352, allocations: 171.3 kB / 0.499 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1356, allocations: 183.1 kB / 0.4991 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.1356, allocations: 28 kB / 0.4992 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.1357, allocations: 32 kB / 0.4992 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1358, allocations: 135.5 kB / 0.4993 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.136, allocations: 186.8 kB / 0.4995 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.1365, allocations: 394 kB / 0.4999 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1365, allocations: 4 kB / 0.4999 GB, free: 13.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1365, allocations: 0 / 0.4999 GB, free: 13.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1365, allocations: 0 / 0.4999 GB, free: 13.53 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.001289/0.1378, allocations: 0.661 MB / 0.5005 GB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1379, allocations: 12.03 kB / 0.5005 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.43e-05/0.138, allocations: 78.7 kB / 0.5006 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.138, allocations: 60.61 kB / 0.5007 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.1386, allocations: 332.7 kB / 0.501 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.1387, allocations: 29.38 kB / 0.501 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.1387, allocations: 40.36 kB / 0.5011 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.1395, allocations: 463.9 kB / 0.5015 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.1395, allocations: 11.89 kB / 0.5015 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.1395, allocations: 19.98 kB / 0.5015 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1396, allocations: 8 kB / 0.5015 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.1401, allocations: 310.3 kB / 0.5018 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.1428, allocations: 1.845 MB / 0.5036 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.1433, allocations: 180.6 kB / 0.5038 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.1435, allocations: 104.8 kB / 0.5039 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1435, allocations: 4 kB / 0.5039 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1435, allocations: 38.92 kB / 0.504 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1435, allocations: 0 / 0.504 GB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006741/0.1442, allocations: 331.7 kB / 0.5043 GB, free: 8.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1442, allocations: 55.41 kB / 0.5043 GB, free: 8.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.1447, allocations: 429.8 kB / 0.5047 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1448, allocations: 25.7 kB / 0.5048 GB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.145, allocations: 268.2 kB / 0.505 GB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.1451, allocations: 87.25 kB / 0.5051 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1452, allocations: 85.42 kB / 0.5052 GB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1454, allocations: 354.8 kB / 0.5055 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1456, allocations: 96.38 kB / 0.5056 GB, free: 7.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.1459, allocations: 245.4 kB / 0.5058 GB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1474, allocations: 0.6387 MB / 0.5065 GB, free: 6.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1474, allocations: 0 / 0.5065 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007479/0.1482, allocations: 460.8 kB / 0.5069 GB, free: 5.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1482, allocations: 8 kB / 0.5069 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.1482, allocations: 7.984 kB / 0.5069 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1483, allocations: 8 kB / 0.5069 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.1486, allocations: 95.83 kB / 0.507 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.1486, allocations: 16.52 kB / 0.507 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1488, allocations: 55.66 kB / 0.5071 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1488, allocations: 20 kB / 0.5071 GB, free: 5.73 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 (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.0003446/0.1492, allocations: 203.4 kB / 0.5073 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.1492, allocations: 39.77 kB / 0.5073 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.1499, allocations: 291.4 kB / 0.5076 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1499, allocations: 4 kB / 0.5076 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1499, allocations: 3.938 kB / 0.5076 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1499, allocations: 0 / 0.5076 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1505, allocations: 360.5 kB / 0.508 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1505, allocations: 4 kB / 0.508 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.1508, allocations: 59.95 kB / 0.508 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1508, allocations: 0 / 0.508 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.1508, allocations: 8 kB / 0.508 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.1508, allocations: 8 kB / 0.508 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1508, allocations: 3.938 kB / 0.508 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.1517, allocations: 490.3 kB / 0.5085 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1517, allocations: 39.66 kB / 0.5086 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.1518, allocations: 8 kB / 0.5086 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1519, allocations: 15.98 kB / 0.5086 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.152, allocations: 15.91 kB / 0.5086 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.152, allocations: 11.94 kB / 0.5086 GB, free: 4.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004112/0.1524, allocations: 287.1 kB / 0.5089 GB, free: 3.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1524, allocations: 0 / 0.5089 GB, free: 3.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.1529, allocations: 67.83 kB / 0.5089 GB, free: 3.781 MB / 382.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.001098/0.154, allocations: 1.025 MB / 0.5099 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.1545, allocations: 275.7 kB / 0.5102 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1545, allocations: 0 / 0.5102 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.1547, allocations: 111.7 kB / 0.5103 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1551, allocations: 42.89 kB / 0.5103 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2378/0.3929, allocations: 3.735 MB / 0.514 GB, free: 21.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3931, allocations: 0.8429 MB / 0.5148 GB, free: 21.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.3933, allocations: 76.14 kB / 0.5149 GB, free: 21.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3935, allocations: 153.9 kB / 0.515 GB, free: 21.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3935, allocations: 0 / 0.515 GB, free: 21.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.4312, allocations: 6.806 MB / 0.5217 GB, free: 20.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 4.875 kB / 0.5217 GB, free: 20.54 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.467782633844763] Failed to read output from testmodel.py, exit status != 0: 11.875123732024804 11.888573389 11.749405429 Calling exit ...