Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",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.009933/0.009934, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07716/0.07716, allocations: 10.74 MB / 26.59 MB, free: 2.238 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.858/1.858, allocations: 205.4 MB / 235.2 MB, free: 196 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.0009314/0.0009311, allocations: 83.34 kB / 285.9 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004525, allocations: 8 kB / 346.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 50 MB / 396.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4782, allocations: 79.06 MB / 475.6 MB, free: 16.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4786, allocations: 87.77 kB / 475.7 MB, free: 16.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.4916, allocations: 5.29 MB / 480.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4917, allocations: 0 / 480.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.4917, allocations: 23.7 kB / 481 MB, free: 12.73 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001009/0.4927, allocations: 0.6804 MB / 481.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4928, allocations: 8.031 kB / 481.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.4929, allocations: 75.16 kB / 481.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.493, allocations: 55.34 kB / 481.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.4937, allocations: 450.3 kB / 482.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4938, allocations: 23.41 kB / 482.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.4938, allocations: 38.81 kB / 482.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.4946, allocations: 439.4 kB / 482.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4946, allocations: 3.562 kB / 482.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.4946, allocations: 14.25 kB / 482.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4947, allocations: 8 kB / 482.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.4952, allocations: 315.9 kB / 483 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.497, allocations: 1.607 MB / 484.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.4973, allocations: 204.2 kB / 484.9 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4974, allocations: 4 kB / 484.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4974, allocations: 38.84 kB / 484.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/0.4974, allocations: 4 kB / 484.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005752/0.498, allocations: 339 kB / 485.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.498, allocations: 55.41 kB / 485.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.4984, allocations: 421.2 kB / 485.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4984, allocations: 29.14 kB / 485.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4985, allocations: 262.5 kB / 486 MB, free: 8.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.4986, allocations: 73.16 kB / 486 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4986, allocations: 11.62 kB / 486.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.4987, allocations: 348.1 kB / 486.4 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.4988, allocations: 99.08 kB / 486.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.499, allocations: 229.3 kB / 486.7 MB, free: 7.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4992, allocations: 137.6 kB / 486.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4993, allocations: 4 kB / 486.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004955/0.4998, allocations: 407 kB / 487.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4998, allocations: 20.03 kB / 487.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4998, allocations: 4 kB / 487.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4998, allocations: 8 kB / 487.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.5002, allocations: 91.39 kB / 487.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5002, allocations: 8 kB / 487.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.5004, allocations: 38.19 kB / 487.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5004, allocations: 15.38 kB / 487.4 MB, free: 7.066 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.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: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002285/0.5006, allocations: 207.3 kB / 487.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.5007, allocations: 39.44 kB / 487.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.5012, allocations: 325.7 kB / 488 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5012, allocations: 0 / 488 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5012, allocations: 0 / 488 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5012, allocations: 4 kB / 488 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.5016, allocations: 407 kB / 488.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5016, allocations: 4 kB / 488.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.5019, allocations: 72.08 kB / 488.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5019, allocations: 4 kB / 488.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.502, allocations: 3.375 kB / 488.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.502, allocations: 7.953 kB / 488.5 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.502, allocations: 3.938 kB / 488.5 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.5026, allocations: 0.4905 MB / 489 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.5027, allocations: 123 kB / 489.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.5027, allocations: 7.188 kB / 489.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.5028, allocations: 7.312 kB / 489.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.5029, allocations: 27.05 kB / 489.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5029, allocations: 7.938 kB / 489.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000278/0.5032, allocations: 321.3 kB / 489.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5032, allocations: 0 / 489.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.5036, allocations: 58.41 kB / 489.5 MB, free: 5.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 (24): * Single equations (assignments): 24 * 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.0007867/0.5044, allocations: 1.05 MB / 490.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.5048, allocations: 262.4 kB / 490.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5048, allocations: 0 / 490.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.505, allocations: 122.6 kB / 490.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5053, allocations: 47.53 kB / 491 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.5092, allocations: 5.264 MB / 496.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5097, allocations: 0.8678 MB / 497.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.5099, allocations: 71.23 kB / 497.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.5101, allocations: 148.2 kB / 497.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5101, allocations: 0 / 497.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.5292, allocations: 6.483 MB / 0.492 GB, free: 7.641 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.5294, allocations: 234.2 kB / 0.4922 GB, free: 7.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.625, allocations: 3.938 kB / 0.4922 GB, free: 7.398 MB / 362.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)