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.007698/0.007698, allocations: 173.6 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05918/0.05918, allocations: 10.74 MB / 26.59 MB, free: 2.266 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.763/1.763, allocations: 205.4 MB / 235.2 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 83.38 kB / 285.9 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 15.98 kB / 346.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 49.98 MB / 396.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4331, allocations: 78.81 MB / 475.3 MB, free: 17.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4334, allocations: 76.14 kB / 475.4 MB, free: 17.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.4475, allocations: 5.369 MB / 480.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4475, allocations: 0 / 480.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.4475, allocations: 19.98 kB / 480.8 MB, free: 13.16 MB / 346.7 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.001069/0.4486, allocations: 0.7366 MB / 481.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4487, allocations: 8.031 kB / 481.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.084e-05/0.4488, allocations: 81.78 kB / 481.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.4489, allocations: 56.84 kB / 481.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.4497, allocations: 466.8 kB / 482.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.4497, allocations: 84.09 kB / 482.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.4498, allocations: 38.25 kB / 482.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.4504, allocations: 0.5137 MB / 482.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.4505, allocations: 11.86 kB / 482.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.4505, allocations: 13.56 kB / 482.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4505, allocations: 8 kB / 482.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.4511, allocations: 365.4 kB / 483.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.4533, allocations: 1.7 MB / 484.8 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.4541, allocations: 303.7 kB / 485.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.4541, allocations: 8.219 kB / 485.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4541, allocations: 30.84 kB / 485.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.4541, allocations: 3.938 kB / 485.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006873/0.4548, allocations: 454.5 kB / 485.6 MB, free: 8.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.4549, allocations: 59.34 kB / 485.7 MB, free: 8.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.4552, allocations: 379.2 kB / 486 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4552, allocations: 29.08 kB / 486.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4553, allocations: 247.4 kB / 486.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.4554, allocations: 131.3 kB / 486.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.4554, allocations: 11 kB / 486.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.4555, allocations: 358.9 kB / 486.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.4557, allocations: 129.5 kB / 486.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4559, allocations: 253.8 kB / 487.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4562, allocations: 173.6 kB / 487.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4562, allocations: 0 / 487.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006318/0.4568, allocations: 0.5152 MB / 487.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4568, allocations: 8 kB / 487.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.4569, allocations: 4 kB / 487.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4569, allocations: 8.828 kB / 487.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.4574, allocations: 127.7 kB / 488 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.4574, allocations: 4 kB / 488 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4576, allocations: 58.14 kB / 488.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4576, allocations: 18.81 kB / 488.1 MB, free: 6.766 MB / 346.7 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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.4579, allocations: 203.3 kB / 488.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.4579, allocations: 39.53 kB / 488.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.4585, allocations: 416.7 kB / 488.7 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4586, allocations: 23 kB / 488.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4586, allocations: 0 / 488.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4586, allocations: 3.984 kB / 488.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.459, allocations: 442.2 kB / 489.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.459, allocations: 0 / 489.2 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.4595, allocations: 107.4 kB / 489.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4595, allocations: 0 / 489.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.4596, allocations: 11.25 kB / 489.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4596, allocations: 0 / 489.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4596, allocations: 7.953 kB / 489.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.4603, allocations: 0.6228 MB / 489.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.4604, allocations: 128.4 kB / 490.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.4604, allocations: 14.86 kB / 490.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4606, allocations: 15.11 kB / 490.1 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.4607, allocations: 27.11 kB / 490.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4607, allocations: 6.75 kB / 490.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.4609, allocations: 289.9 kB / 490.4 MB, free: 4.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.461, allocations: 0 / 490.4 MB, free: 4.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.4613, allocations: 79.02 kB / 490.5 MB, free: 4.73 MB / 346.7 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 (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.0008946/0.4622, allocations: 1.181 MB / 491.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.4628, allocations: 373.1 kB / 492 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4628, allocations: 0 / 492 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.463, allocations: 167.5 kB / 492.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4632, allocations: 46 kB / 492.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.4675, allocations: 5.113 MB / 497.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.468, allocations: 0.8664 MB / 498.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.4684, allocations: 95.28 kB / 498.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.4686, allocations: 171.3 kB / 498.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4686, allocations: 0 / 498.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.4899, allocations: 7.049 MB / 0.4937 GB, free: 6.145 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.4901, allocations: 197.4 kB / 0.4939 GB, free: 5.902 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.537, allocations: 4 kB / 0.4939 GB, free: 5.898 MB / 362.7 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)