Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_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.0009221/0.0009222, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.006271/0.006271, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.362/1.362, 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.05491/0.05491, allocations: 10.75 MB / 281.5 MB, free: 10.44 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.0005341/0.0005342, allocations: 12 kB / 342.3 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.09862, allocations: 50 MB / 392.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002935/0.1016, allocations: 1.87 MB / 394.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1035, allocations: 0.6824 MB / 394.9 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.104, allocations: 15.88 kB / 394.9 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1043, allocations: 43.58 kB / 394.9 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1046, allocations: 31.73 kB / 395 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.1056, allocations: 279.6 kB / 395.3 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.1065, allocations: 0.5467 MB / 395.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1067, allocations: 89.27 kB / 395.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.1071, allocations: 191.2 kB / 396.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.1075, allocations: 191 kB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.1076, allocations: 12 kB / 396.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.1076, allocations: 16 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1078, allocations: 123.5 kB / 396.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.108, allocations: 200.4 kB / 396.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.1083, allocations: 374.4 kB / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1083, allocations: 4 kB / 397 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1083, allocations: 0 / 397 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1084, allocations: 0 / 397 MB, free: 0.6523 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001451/0.1098, allocations: 0.7089 MB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1099, allocations: 12.03 kB / 397.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.11, allocations: 78.72 kB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.1102, allocations: 52.28 kB / 397.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1109, allocations: 405.9 kB / 398.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.111, allocations: 80.97 kB / 398.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.111, allocations: 40.28 kB / 398.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.1119, allocations: 473 kB / 398.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.112, allocations: 11.92 kB / 398.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.112, allocations: 12 kB / 398.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1121, allocations: 12 kB / 398.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.1128, allocations: 359.7 kB / 399.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.1157, allocations: 1.713 MB / 400.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.1166, allocations: 299.2 kB / 401.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1169, allocations: 185.3 kB / 401.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.117, allocations: 4.281 kB / 401.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.117, allocations: 38.78 kB / 401.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.282e-06/0.117, allocations: 0 / 401.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009255/0.118, allocations: 463 kB / 401.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.118, allocations: 55.41 kB / 401.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.1185, allocations: 421.8 kB / 402.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.1185, allocations: 29.7 kB / 402.4 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1187, allocations: 255.9 kB / 402.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1188, allocations: 122.2 kB / 402.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.1189, allocations: 53.69 kB / 402.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1191, allocations: 362.8 kB / 403.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1193, allocations: 132.9 kB / 403.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.1197, allocations: 254.7 kB / 403.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.122, allocations: 0.8206 MB / 404.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.122, allocations: 0 / 404.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008636/0.1229, allocations: 0.5118 MB / 404.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.1229, allocations: 8 kB / 404.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.1229, allocations: 11.92 kB / 404.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.123, allocations: 11.98 kB / 404.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.1234, allocations: 124.3 kB / 405 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.1235, allocations: 7.938 kB / 405 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1237, allocations: 59.36 kB / 405.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.1238, allocations: 20 kB / 405.1 MB, free: 8.152 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 (61): * Single equations (assignments): 61 * 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.0003163/0.1241, allocations: 199.6 kB / 405.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.1242, allocations: 51.38 kB / 405.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.125, allocations: 409.5 kB / 405.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.125, allocations: 4 kB / 405.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.125, allocations: 0 / 405.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.125, allocations: 3.984 kB / 405.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1255, allocations: 453.1 kB / 406.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1256, allocations: 0 / 406.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.1261, allocations: 107.8 kB / 406.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1261, allocations: 0 / 406.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.1261, allocations: 8 kB / 406.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1262, allocations: 8 kB / 406.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1262, allocations: 3.984 kB / 406.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.1272, allocations: 0.6213 MB / 406.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.1273, allocations: 128.4 kB / 407 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1273, allocations: 12 kB / 407.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1275, allocations: 15.98 kB / 407.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.1276, allocations: 27.97 kB / 407.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.1276, allocations: 11.98 kB / 407.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1279, allocations: 291.1 kB / 407.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1279, allocations: 3.938 kB / 407.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1282, allocations: 79.75 kB / 407.5 MB, free: 5.645 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.001229/0.1295, allocations: 1.171 MB / 408.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.1301, allocations: 387.4 kB / 409 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1301, allocations: 4 kB / 409 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.1304, allocations: 176.5 kB / 409.2 MB, free: 3.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1308, allocations: 37.55 kB / 409.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.1367, allocations: 4.348 MB / 413.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.1372, allocations: 0.8586 MB / 414.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000256/0.1374, allocations: 87.34 kB / 414.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.1377, allocations: 163.4 kB / 414.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1377, allocations: 0 / 414.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6528/0.7905, allocations: 6.888 MB / 421.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.7909, allocations: 224.8 kB / 421.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.983, allocations: 0 / 421.8 MB, free: 7.152 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)