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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06403/0.06403, allocations: 10.65 MB / 23.91 MB, free: 1.633 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 232.1 MB, free: 12.83 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 93.02 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.467e-05/4.479e-05, allocations: 4 kB / 340.6 MB, free: 3.527 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 49.98 MB / 390.6 MB, free: 35.71 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3974, allocations: 78.73 MB / 469.3 MB, free: 4.875 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.3977, allocations: 79.95 kB / 469.4 MB, free: 4.797 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02023/0.418, allocations: 5.342 MB / 474.7 MB, free: 15.43 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.116e-06/0.418, allocations: 4 kB / 474.7 MB, free: 15.43 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0001019/0.4182, allocations: 12 kB / 474.7 MB, free: 15.41 MB / 362.8 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.002263/0.4204, allocations: 0.6897 MB / 475.4 MB, free: 14.68 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.4205, allocations: 12.03 kB / 475.4 MB, free: 14.67 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.4208, allocations: 74.53 kB / 475.5 MB, free: 14.59 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.421, allocations: 55.34 kB / 475.6 MB, free: 14.53 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.4225, allocations: 464 kB / 476 MB, free: 14.04 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.4226, allocations: 80.19 kB / 476.1 MB, free: 13.95 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4228, allocations: 36 kB / 476.1 MB, free: 13.91 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4239, allocations: 0.4971 MB / 476.6 MB, free: 13.36 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.424, allocations: 11.86 kB / 476.6 MB, free: 13.35 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.4241, allocations: 16 kB / 476.6 MB, free: 13.33 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.4241, allocations: 12 kB / 476.7 MB, free: 13.32 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.425, allocations: 330.9 kB / 477 MB, free: 13 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.4287, allocations: 1.7 MB / 478.7 MB, free: 11.21 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4298, allocations: 271.4 kB / 478.9 MB, free: 10.94 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.4302, allocations: 157.4 kB / 479.1 MB, free: 10.78 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.4302, allocations: 8.219 kB / 479.1 MB, free: 10.77 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4303, allocations: 42.8 kB / 479.1 MB, free: 10.72 MB / 362.8 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.4303, allocations: 0 / 479.1 MB, free: 10.72 MB / 362.8 MB Notification: Performance of matching and sorting (n=33): time 0.0007691/0.4311, allocations: 311.2 kB / 479.5 MB, free: 10.41 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.4311, allocations: 55.41 kB / 479.5 MB, free: 10.35 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.4317, allocations: 375 kB / 479.9 MB, free: 9.977 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.4317, allocations: 33.7 kB / 479.9 MB, free: 9.938 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.432, allocations: 240 kB / 480.1 MB, free: 9.695 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4321, allocations: 126.2 kB / 480.3 MB, free: 9.57 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4321, allocations: 8 kB / 480.3 MB, free: 9.562 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.4324, allocations: 358.8 kB / 480.6 MB, free: 9.203 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4327, allocations: 117 kB / 480.7 MB, free: 9.09 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.4331, allocations: 243.6 kB / 481 MB, free: 8.801 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.4335, allocations: 165.5 kB / 481.1 MB, free: 8.637 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4335, allocations: 0 / 481.1 MB, free: 8.637 MB / 362.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001046/0.4345, allocations: 494.2 kB / 481.6 MB, free: 8.148 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4346, allocations: 7.953 kB / 481.6 MB, free: 8.141 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4346, allocations: 7.984 kB / 481.6 MB, free: 8.133 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.4346, allocations: 8 kB / 481.6 MB, free: 8.125 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.4354, allocations: 120.3 kB / 481.8 MB, free: 8.008 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.4355, allocations: 12 kB / 481.8 MB, free: 7.996 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.4358, allocations: 47.58 kB / 481.8 MB, free: 7.949 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.4359, allocations: 27.97 kB / 481.8 MB, free: 7.922 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.4361, allocations: 149.5 kB / 482 MB, free: 7.77 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.4362, allocations: 43.44 kB / 482 MB, free: 7.727 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.4372, allocations: 397.6 kB / 482.4 MB, free: 7.332 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4372, allocations: 4 kB / 482.4 MB, free: 7.328 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4372, allocations: 0 / 482.4 MB, free: 7.328 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4372, allocations: 0 / 482.4 MB, free: 7.328 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.438, allocations: 449.1 kB / 482.9 MB, free: 6.84 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.438, allocations: 8 kB / 482.9 MB, free: 6.832 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.4388, allocations: 95.88 kB / 483 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4389, allocations: 4 kB / 483 MB, free: 6.734 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.4389, allocations: 15.94 kB / 483 MB, free: 6.719 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4389, allocations: 0 / 483 MB, free: 6.719 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4389, allocations: 0 / 483 MB, free: 6.719 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.44, allocations: 0.5829 MB / 483.6 MB, free: 6.117 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4401, allocations: 120.5 kB / 483.7 MB, free: 5.98 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.4402, allocations: 15.95 kB / 483.7 MB, free: 5.965 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4405, allocations: 15.98 kB / 483.7 MB, free: 5.949 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.4406, allocations: 27.91 kB / 483.7 MB, free: 5.922 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.4406, allocations: 8 kB / 483.8 MB, free: 5.914 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0004151/0.441, allocations: 285.2 kB / 484 MB, free: 5.637 MB / 362.8 MB Notification: Performance of sort global known variables: time 2e-07/0.4411, allocations: 0 / 484 MB, free: 5.637 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0005611/0.4416, allocations: 75.84 kB / 484.1 MB, free: 5.562 MB / 362.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.4429, allocations: 1.132 MB / 485.2 MB, free: 4.402 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.4434, allocations: 344.3 kB / 485.6 MB, free: 4.066 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4434, allocations: 4.062 kB / 485.6 MB, free: 4.062 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.4436, allocations: 151.8 kB / 485.7 MB, free: 3.914 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4439, allocations: 42.19 kB / 485.8 MB, free: 3.875 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.4456, allocations: 0.8942 MB / 486.7 MB, free: 2.949 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.4461, allocations: 0.8703 MB / 487.5 MB, free: 2.051 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.4464, allocations: 87.36 kB / 487.6 MB, free: 1.965 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.4466, allocations: 167.4 kB / 487.8 MB, free: 1.801 MB / 362.8 MB Notification: Performance of SimCode: time 4.01e-07/0.4466, allocations: 3.938 kB / 487.8 MB, free: 1.797 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.4675, allocations: 6.921 MB / 494.7 MB, free: 10.97 MB / 378.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.4678, allocations: 176.5 kB / 494.9 MB, free: 10.74 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.605, allocations: 3.594 kB / 494.9 MB, free: 10.74 MB / 378.8 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/linux/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)