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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008586, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004925/0.004926, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.561/1.561, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05665/0.05665, 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.000784/0.0007842, allocations: 12 kB / 342.3 MB, free: 23.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1103, allocations: 50.01 MB / 392.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002356/0.1127, allocations: 1.8 MB / 394.1 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1137, allocations: 0.522 MB / 394.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1139, allocations: 15.88 kB / 394.7 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1141, allocations: 39.66 kB / 394.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.1142, allocations: 27.78 kB / 394.7 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1147, allocations: 227.6 kB / 395 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.1151, allocations: 491.7 kB / 395.4 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1153, allocations: 72.94 kB / 395.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1155, allocations: 155.3 kB / 395.7 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1157, allocations: 171.1 kB / 395.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.1157, allocations: 12 kB / 395.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.1158, allocations: 12 kB / 395.9 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1159, allocations: 115.6 kB / 396 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1161, allocations: 176.5 kB / 396.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1164, allocations: 330.6 kB / 396.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1164, allocations: 0 / 396.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1164, allocations: 0 / 396.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1164, allocations: 4 kB / 396.5 MB, free: 1.168 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001146/0.1176, allocations: 0.6583 MB / 397.1 MB, free: 468 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1176, allocations: 16.03 kB / 397.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.092e-05/0.1177, allocations: 66.72 kB / 397.2 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.1178, allocations: 48.38 kB / 397.3 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.1183, allocations: 367.9 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.1184, allocations: 21.38 kB / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.1184, allocations: 40.36 kB / 397.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.1191, allocations: 432.5 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1192, allocations: 7.688 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.1192, allocations: 16 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1192, allocations: 8 kB / 398.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.1198, allocations: 314.4 kB / 398.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.1221, allocations: 1.551 MB / 400 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.1228, allocations: 234.5 kB / 400.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.1231, allocations: 128.8 kB / 400.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.1231, allocations: 7.984 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.1232, allocations: 46.48 kB / 400.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1232, allocations: 3.938 kB / 400.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007421/0.1239, allocations: 370 kB / 400.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.124, allocations: 55.41 kB / 400.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.1244, allocations: 401.5 kB / 401.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1244, allocations: 29.7 kB / 401.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1246, allocations: 240 kB / 401.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.1247, allocations: 94.61 kB / 401.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.1248, allocations: 45.69 kB / 401.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.125, allocations: 358.8 kB / 402 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1252, allocations: 108.4 kB / 402.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.1255, allocations: 224.5 kB / 402.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.1274, allocations: 0.6983 MB / 403 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1275, allocations: 0 / 403 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007075/0.1282, allocations: 464.5 kB / 403.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1282, allocations: 11.12 kB / 403.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1282, allocations: 4 kB / 403.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1282, allocations: 4 kB / 403.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1286, allocations: 103.9 kB / 403.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1287, allocations: 7.938 kB / 403.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1288, allocations: 59.83 kB / 403.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.1289, allocations: 16 kB / 403.6 MB, free: 9.617 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 (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.0002464/0.1291, allocations: 183.7 kB / 403.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1292, allocations: 47.47 kB / 403.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.1299, allocations: 349.7 kB / 404.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.1299, allocations: 4 kB / 404.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1299, allocations: 0 / 404.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1299, allocations: 3.984 kB / 404.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.1304, allocations: 397.2 kB / 404.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1304, allocations: 0 / 404.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.1308, allocations: 79.83 kB / 404.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1308, allocations: 7.984 kB / 404.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.1308, allocations: 15.98 kB / 404.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1309, allocations: 0 / 404.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1309, allocations: 7.938 kB / 404.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.1317, allocations: 0.5354 MB / 405.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.1318, allocations: 120.5 kB / 405.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.1318, allocations: 8 kB / 405.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.132, allocations: 15.98 kB / 405.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.1321, allocations: 19.97 kB / 405.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1321, allocations: 8 kB / 405.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002967/0.1324, allocations: 283.1 kB / 405.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1324, allocations: 0 / 405.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1328, allocations: 71.75 kB / 405.8 MB, free: 7.387 MB / 302.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.001171/0.1339, allocations: 1.083 MB / 406.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1345, allocations: 317.1 kB / 407.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1345, allocations: 0 / 407.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1348, allocations: 139.8 kB / 407.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1352, allocations: 33.56 kB / 407.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.1399, allocations: 3.939 MB / 411.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1403, allocations: 0.8418 MB / 412.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.1406, allocations: 79.17 kB / 412.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.1408, allocations: 147.4 kB / 412.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1408, allocations: 0 / 412.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2893/0.4301, allocations: 6.071 MB / 418.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.4304, allocations: 230.9 kB / 418.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.446, allocations: 64 / 418.6 MB, free: 10.36 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)