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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008654/0.0008655, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007066/0.007066, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06243/0.06243, allocations: 10.73 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.0005685/0.0005685, allocations: 12 kB / 342.3 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1806, allocations: 50.01 MB / 392.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003563/0.1843, allocations: 1.948 MB / 394.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1858, allocations: 0.6312 MB / 394.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.186, allocations: 11.88 kB / 394.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1864, allocations: 47.64 kB / 395 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1865, allocations: 35.67 kB / 395 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.1874, allocations: 295.6 kB / 395.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.1881, allocations: 0.5973 MB / 395.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.1884, allocations: 102.6 kB / 396 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1887, allocations: 167.1 kB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.189, allocations: 183.1 kB / 396.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.1891, allocations: 12 kB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.1891, allocations: 12 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1893, allocations: 127.5 kB / 396.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1895, allocations: 192.5 kB / 396.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.19, allocations: 434.2 kB / 397.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.19, allocations: 0 / 397.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.19, allocations: 0 / 397.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.19, allocations: 0 / 397.1 MB, free: 0.5195 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001315/0.1913, allocations: 0.67 MB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.1914, allocations: 12.03 kB / 397.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.1916, allocations: 70.72 kB / 397.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.1917, allocations: 52.28 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.1923, allocations: 414 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1924, allocations: 25.03 kB / 398.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.1925, allocations: 36.38 kB / 398.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.1934, allocations: 412.1 kB / 398.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.1934, allocations: 7.938 kB / 398.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.1935, allocations: 12 kB / 398.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.1935, allocations: 12 kB / 398.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.1942, allocations: 314.3 kB / 399.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.1972, allocations: 1.608 MB / 400.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.1976, allocations: 202.5 kB / 400.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1978, allocations: 101.1 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.1979, allocations: 7.984 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1979, allocations: 34.52 kB / 401.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.198, allocations: 4 kB / 401.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008727/0.1988, allocations: 337 kB / 401.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.1989, allocations: 55.36 kB / 401.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.1996, allocations: 465.8 kB / 401.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1997, allocations: 29.7 kB / 401.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.2, allocations: 263.7 kB / 402.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2001, allocations: 90.77 kB / 402.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.2002, allocations: 41.69 kB / 402.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.2004, allocations: 350.8 kB / 402.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2006, allocations: 104.3 kB / 402.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.2009, allocations: 228.8 kB / 403 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.2026, allocations: 0.5979 MB / 403.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2026, allocations: 4 kB / 403.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008058/0.2035, allocations: 412.8 kB / 404 MB, free: 9.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2035, allocations: 8 kB / 404 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2035, allocations: 4 kB / 404 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.2035, allocations: 8 kB / 404 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.2039, allocations: 95.83 kB / 404.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.204, allocations: 4.438 kB / 404.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.2042, allocations: 43.59 kB / 404.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2042, allocations: 27.92 kB / 404.2 MB, free: 9.035 MB / 302.1 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.P12.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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.2046, allocations: 190.6 kB / 404.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.2046, allocations: 43.44 kB / 404.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.2053, allocations: 317.5 kB / 404.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2054, allocations: 4 kB / 404.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2054, allocations: 3.938 kB / 404.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2054, allocations: 0 / 404.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.206, allocations: 409.2 kB / 405.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.206, allocations: 0 / 405.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.2063, allocations: 67.95 kB / 405.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.2064, allocations: 4 kB / 405.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.2064, allocations: 7.938 kB / 405.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2064, allocations: 0 / 405.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2064, allocations: 8 kB / 405.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2074, allocations: 0.4952 MB / 405.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2076, allocations: 128.5 kB / 405.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.2077, allocations: 0 / 405.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2078, allocations: 15.98 kB / 405.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2079, allocations: 15.98 kB / 405.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.208, allocations: 4 kB / 405.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004615/0.2084, allocations: 323 kB / 406.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.298e-06/0.2084, allocations: 0 / 406.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.2088, allocations: 63.78 kB / 406.2 MB, free: 6.871 MB / 302.1 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 (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.001445/0.2103, allocations: 1.048 MB / 407.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006394/0.2109, allocations: 268.8 kB / 407.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2109, allocations: 0 / 407.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.2112, allocations: 123.9 kB / 407.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.2117, allocations: 41.89 kB / 407.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.2185, allocations: 4.093 MB / 411.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.2194, allocations: 0.858 MB / 412.7 MB, free: 208 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.2197, allocations: 67.23 kB / 412.7 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.22, allocations: 147.4 kB / 412.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.22, allocations: 3.938 kB / 412.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2435, allocations: 6.299 MB / 419.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.2438, allocations: 264.5 kB / 419.4 MB, free: 9.477 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.477, allocations: 0 / 419.4 MB, free: 9.477 MB / 318.1 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/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)