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.006243/0.006243, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001315/0.001315, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.606/1.606, allocations: 205.1 MB / 222.6 MB, free: 4.27 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05892/0.05893, allocations: 10.75 MB / 280.7 MB, free: 10.29 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.002337/0.002337, allocations: 68.47 kB / 390.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.353, allocations: 49.02 MB / 439.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003601/0.3566, allocations: 2.193 MB / 441.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3581, allocations: 0.6876 MB / 442.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3583, allocations: 21.44 kB / 442.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3586, allocations: 55.06 kB / 442.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3588, allocations: 52.25 kB / 442.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.3595, allocations: 325.7 kB / 442.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.3602, allocations: 0.5735 MB / 443.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.3604, allocations: 92.94 kB / 443.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3607, allocations: 215.5 kB / 443.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.361, allocations: 204.6 kB / 443.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.3611, allocations: 32.91 kB / 443.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.3611, allocations: 36.41 kB / 443.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3613, allocations: 135.9 kB / 444 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3615, allocations: 198.2 kB / 444.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.3619, allocations: 416.2 kB / 444.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.362, allocations: 1.344 kB / 444.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.362, allocations: 0.5625 kB / 444.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.362, allocations: 0 / 444.6 MB, free: 1.906 MB / 318.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.001331/0.3633, allocations: 0.7712 MB / 445.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3634, allocations: 14.11 kB / 445.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.3635, allocations: 80.22 kB / 445.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.3636, allocations: 54.34 kB / 445.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.3642, allocations: 445.6 kB / 445.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.3643, allocations: 82.89 kB / 446 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3644, allocations: 43.48 kB / 446 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.3652, allocations: 458.3 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.3652, allocations: 11.45 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.3653, allocations: 15.09 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3653, allocations: 9.562 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.3659, allocations: 354.9 kB / 446.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.3685, allocations: 1.675 MB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.3694, allocations: 295.5 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.3697, allocations: 174.3 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3697, allocations: 8.156 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3697, allocations: 46.78 kB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.3698, allocations: 3.938 kB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008933/0.3707, allocations: 449.8 kB / 449.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3707, allocations: 53.91 kB / 449.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.3712, allocations: 426.8 kB / 450 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3713, allocations: 31.11 kB / 450 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3714, allocations: 241.7 kB / 450.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.3716, allocations: 136.7 kB / 450.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3717, allocations: 87.62 kB / 450.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3719, allocations: 357.6 kB / 450.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.3722, allocations: 130.8 kB / 450.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.3725, allocations: 249.2 kB / 451.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.3748, allocations: 0.7973 MB / 452 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3748, allocations: 5.312 kB / 452 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009243/0.3757, allocations: 0.5013 MB / 452.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3758, allocations: 6.5 kB / 452.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3758, allocations: 8.625 kB / 452.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3758, allocations: 9.562 kB / 452.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.3764, allocations: 119 kB / 452.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.3764, allocations: 14.23 kB / 452.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3767, allocations: 56.48 kB / 452.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.3767, allocations: 18.5 kB / 452.7 MB, free: 12.52 MB / 334.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.0003094/0.377, allocations: 202.6 kB / 452.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.3771, allocations: 47.06 kB / 452.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.3779, allocations: 410.5 kB / 453.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3779, allocations: 2.875 kB / 453.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3779, allocations: 1.469 kB / 453.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3779, allocations: 0 / 453.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.3785, allocations: 443.3 kB / 453.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3785, allocations: 0 / 453.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.3791, allocations: 104.5 kB / 453.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3791, allocations: 1.75 kB / 453.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.3792, allocations: 13.36 kB / 453.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3792, allocations: 1.188 kB / 453.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3792, allocations: 3.938 kB / 453.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3803, allocations: 0.6159 MB / 454.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3804, allocations: 127.7 kB / 454.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.3805, allocations: 15.77 kB / 454.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3806, allocations: 18.38 kB / 454.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.3807, allocations: 23.62 kB / 454.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3807, allocations: 6.312 kB / 454.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.3811, allocations: 291.7 kB / 455 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3811, allocations: 0 / 455 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.3815, allocations: 75.41 kB / 455.1 MB, free: 10.95 MB / 334.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.00126/0.3828, allocations: 1.17 MB / 456.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.3834, allocations: 369.3 kB / 456.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3834, allocations: 0 / 456.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.3837, allocations: 172.4 kB / 456.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3841, allocations: 43.42 kB / 456.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.3898, allocations: 4.106 MB / 460.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.3904, allocations: 0.8586 MB / 461.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3908, allocations: 83.36 kB / 461.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.391, allocations: 167.4 kB / 462 MB, free: 5.758 MB / 334.1 MB Notification: Performance of SimCode: time 1.903e-06/0.391, allocations: 0 / 462 MB, free: 5.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4213, allocations: 7.549 MB / 469.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.846, allocations: 8 kB / 469.6 MB, free: 14.27 MB / 350.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)