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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 191.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0561/0.0561, allocations: 10.75 MB / 280.2 MB, free: 10.67 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001401, allocations: 64.47 kB / 340.1 MB, free: 23.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 49.02 MB / 389.2 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003964/0.1163, allocations: 2.15 MB / 391.3 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1175, allocations: 498.6 kB / 391.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1176, allocations: 7.938 kB / 391.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1179, allocations: 43.59 kB / 391.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.118, allocations: 23.8 kB / 391.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.1187, allocations: 215.6 kB / 392.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.1192, allocations: 0.4915 MB / 392.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1194, allocations: 80.92 kB / 392.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1197, allocations: 175.3 kB / 392.8 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.12, allocations: 187.1 kB / 393 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.12, allocations: 28 kB / 393 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.1201, allocations: 28 kB / 393.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1203, allocations: 123.6 kB / 393.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1204, allocations: 174.9 kB / 393.3 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1208, allocations: 350.7 kB / 393.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1208, allocations: 4 kB / 393.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1208, allocations: 0 / 393.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1208, allocations: 0 / 393.7 MB, free: 1.938 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001238/0.1221, allocations: 0.717 MB / 394.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.1221, allocations: 15.89 kB / 394.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.1222, allocations: 66.72 kB / 394.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.1223, allocations: 52.38 kB / 394.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.1227, allocations: 363.7 kB / 394.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.1228, allocations: 76.56 kB / 395 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.1229, allocations: 40.31 kB / 395 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.1235, allocations: 415.8 kB / 395.4 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.1236, allocations: 15.91 kB / 395.4 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1236, allocations: 12 kB / 395.4 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1236, allocations: 8 kB / 395.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.1242, allocations: 298.4 kB / 395.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1265, allocations: 1.567 MB / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.1269, allocations: 194.4 kB / 397.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.1272, allocations: 120.8 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1272, allocations: 0 / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1273, allocations: 38.56 kB / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.143e-06/0.1273, allocations: 0 / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007416/0.128, allocations: 343 kB / 398 MB, free: 13.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1281, allocations: 55.41 kB / 398 MB, free: 13.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.1286, allocations: 397.5 kB / 398.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1286, allocations: 29.7 kB / 398.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1288, allocations: 232 kB / 398.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.1289, allocations: 90.73 kB / 398.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.129, allocations: 73.92 kB / 398.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1292, allocations: 362.7 kB / 399.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.1294, allocations: 104.7 kB / 399.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.1297, allocations: 212.9 kB / 399.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.1313, allocations: 0.6209 MB / 400.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1313, allocations: 0 / 400.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006996/0.132, allocations: 438.1 kB / 400.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1321, allocations: 8 kB / 400.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1321, allocations: 4 kB / 400.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.1321, allocations: 4 kB / 400.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1325, allocations: 95.81 kB / 400.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.1326, allocations: 8.406 kB / 400.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1327, allocations: 55.52 kB / 400.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1328, allocations: 20 kB / 400.8 MB, free: 10.48 MB / 302.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: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002772/0.1331, allocations: 199.5 kB / 400.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1331, allocations: 31.62 kB / 401 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.1337, allocations: 296.8 kB / 401.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1337, allocations: 4 kB / 401.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1337, allocations: 7.922 kB / 401.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1338, allocations: 3.938 kB / 401.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.1343, allocations: 393.3 kB / 401.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1343, allocations: 0 / 401.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.1347, allocations: 63.94 kB / 401.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1347, allocations: 8 kB / 401.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1347, allocations: 8 kB / 401.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1347, allocations: 0 / 401.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1347, allocations: 3.938 kB / 401.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.1355, allocations: 0.4948 MB / 402.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1357, allocations: 108.6 kB / 402.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.1358, allocations: 11.98 kB / 402.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1359, allocations: 11.98 kB / 402.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.136, allocations: 15.92 kB / 402.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.136, allocations: 8 kB / 402.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.1364, allocations: 275.1 kB / 402.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1364, allocations: 0 / 402.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.1368, allocations: 75.69 kB / 402.7 MB, free: 8.383 MB / 302.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.001281/0.1381, allocations: 1.029 MB / 403.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006436/0.1387, allocations: 323.4 kB / 404.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1387, allocations: 0 / 404.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.139, allocations: 115.9 kB / 404.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.1394, allocations: 47.61 kB / 404.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.1446, allocations: 3.784 MB / 408 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.1451, allocations: 0.8302 MB / 408.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.1454, allocations: 71.23 kB / 408.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.1456, allocations: 143.4 kB / 409.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1456, allocations: 0 / 409.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.1682, allocations: 6.041 MB / 415.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.1686, allocations: 223.7 kB / 415.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.219, allocations: 3.797 kB / 415.3 MB, free: 11.61 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)