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.0008258/0.000826, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005906/0.005906, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.524/1.524, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05479/0.05479, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005425/0.0005425, allocations: 12 kB / 342.3 MB, free: 23.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 49.99 MB / 392.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002592/0.1163, allocations: 1.788 MB / 394.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1174, allocations: 494.7 kB / 394.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1175, allocations: 7.938 kB / 394.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1178, allocations: 39.66 kB / 394.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.1179, allocations: 27.8 kB / 394.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1185, allocations: 215.6 kB / 394.9 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.119, allocations: 471.3 kB / 395.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1192, allocations: 80.94 kB / 395.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.1194, allocations: 147.3 kB / 395.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1197, allocations: 159.2 kB / 395.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1198, allocations: 12 kB / 395.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.1198, allocations: 16 kB / 395.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1199, allocations: 111.6 kB / 395.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1201, allocations: 176.6 kB / 396 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1205, allocations: 334.6 kB / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1205, allocations: 0 / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.1205, allocations: 4 kB / 396.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1205, allocations: 3.938 kB / 396.4 MB, free: 1.238 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.001181/0.1217, allocations: 0.6581 MB / 397 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1218, allocations: 8.031 kB / 397 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.1219, allocations: 74.72 kB / 397.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.1219, allocations: 48.38 kB / 397.2 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1224, allocations: 351.8 kB / 397.5 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.1225, allocations: 84.69 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/0.1226, allocations: 40.28 kB / 397.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.1233, allocations: 423.8 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1233, allocations: 0 / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.1233, allocations: 16 kB / 398.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1234, allocations: 8 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.1239, allocations: 314.3 kB / 398.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1263, allocations: 1.582 MB / 400 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.1267, allocations: 190.4 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1269, allocations: 124.8 kB / 400.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.127, allocations: 4 kB / 400.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.127, allocations: 42.55 kB / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.127, allocations: 0 / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006735/0.1277, allocations: 341.4 kB / 400.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1278, allocations: 55.41 kB / 400.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.1282, allocations: 405.5 kB / 401.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1282, allocations: 33.7 kB / 401.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1284, allocations: 239.9 kB / 401.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.1284, allocations: 82.75 kB / 401.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1285, allocations: 45.69 kB / 401.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1287, allocations: 350.7 kB / 401.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1289, allocations: 112.7 kB / 401.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1292, allocations: 212.9 kB / 402.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.1308, allocations: 0.6482 MB / 402.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1308, allocations: 0 / 402.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007232/0.1315, allocations: 442.1 kB / 403.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1316, allocations: 6.969 kB / 403.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1316, allocations: 4.469 kB / 403.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/0.1316, allocations: 15.94 kB / 403.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.132, allocations: 95.81 kB / 403.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.1321, allocations: 7.938 kB / 403.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.1323, allocations: 59.45 kB / 403.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1323, allocations: 16 kB / 403.4 MB, free: 9.789 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.0003369/0.1327, allocations: 191.6 kB / 403.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.1328, allocations: 35.53 kB / 403.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.1334, allocations: 304.9 kB / 403.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1334, allocations: 4 kB / 403.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.1334, allocations: 3.938 kB / 403.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1334, allocations: 3.984 kB / 404 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.134, allocations: 397.2 kB / 404.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.134, allocations: 0 / 404.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.1344, allocations: 71.89 kB / 404.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1344, allocations: 0 / 404.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1345, allocations: 11.98 kB / 404.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1345, allocations: 4 kB / 404.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1345, allocations: 3.938 kB / 404.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.1352, allocations: 0.4986 MB / 404.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1354, allocations: 116.6 kB / 405 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.1354, allocations: 12 kB / 405.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1356, allocations: 15.98 kB / 405.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.1356, allocations: 19.91 kB / 405.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1357, allocations: 4.109 kB / 405.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.136, allocations: 283.1 kB / 405.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.136, allocations: 0 / 405.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1363, allocations: 67.78 kB / 405.4 MB, free: 7.668 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.001059/0.1374, allocations: 1.045 MB / 406.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1379, allocations: 304.7 kB / 406.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.138, allocations: 4 kB / 406.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1382, allocations: 120.3 kB / 406.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1386, allocations: 45.42 kB / 406.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.1433, allocations: 3.841 MB / 410.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.1437, allocations: 0.8302 MB / 411.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1439, allocations: 75.22 kB / 411.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1441, allocations: 139.4 kB / 411.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1441, allocations: 0 / 411.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1626, allocations: 5.792 MB / 417.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.1629, allocations: 222.7 kB / 417.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.161, allocations: 7.938 kB / 417.8 MB, free: 11.09 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)