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.001065/0.001065, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06086/0.06086, allocations: 10.66 MB / 18.73 MB, free: 1.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.3 MB / 226.9 MB, free: 7.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.0008662, allocations: 97.55 kB / 277.3 MB, free: 5.438 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.07e-05, allocations: 0 / 333.6 MB, free: 28.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 50 MB / 383.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5326, allocations: 78.62 MB / 462.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5329, allocations: 84.27 kB / 462.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.5467, allocations: 5.226 MB / 467.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5467, allocations: 0 / 467.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.5468, allocations: 12 kB / 467.6 MB, free: 1.5 MB / 330.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.0009284/0.5477, allocations: 0.6408 MB / 468.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5478, allocations: 8.031 kB / 468.2 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.5479, allocations: 51.44 kB / 468.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.5486, allocations: 441.5 kB / 468.7 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.5487, allocations: 15.94 kB / 468.7 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.5487, allocations: 27.86 kB / 468.7 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004029/0.5491, allocations: 255.6 kB / 469 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.5497, allocations: 371.6 kB / 469.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5497, allocations: 4 kB / 469.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.5497, allocations: 0 / 469.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.5497, allocations: 8 kB / 469.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.5518, allocations: 1.543 MB / 470.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.552, allocations: 172 kB / 471.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.5521, allocations: 83.41 kB / 471.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.5522, allocations: 7.969 kB / 471.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5522, allocations: 42.72 kB / 471.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.5522, allocations: 0 / 471.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003518/0.5526, allocations: 207.3 kB / 471.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.5526, allocations: 59.36 kB / 471.5 MB, free: 14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.553, allocations: 351.9 kB / 471.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.553, allocations: 29.7 kB / 471.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5532, allocations: 271.6 kB / 472.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.5533, allocations: 74.09 kB / 472.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.5533, allocations: 0 / 472.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5534, allocations: 348.7 kB / 472.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.5535, allocations: 84.36 kB / 472.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.5537, allocations: 195.8 kB / 472.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.5539, allocations: 117.2 kB / 472.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5539, allocations: 4 kB / 472.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004471/0.5544, allocations: 336.1 kB / 473.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5544, allocations: 8.562 kB / 473.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5544, allocations: 11.98 kB / 473.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5544, allocations: 8 kB / 473.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.5548, allocations: 82.66 kB / 473.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.5548, allocations: 23.81 kB / 473.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.555, allocations: 27.69 kB / 473.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.555, allocations: 14.75 kB / 473.4 MB, free: 12.3 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P12.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: 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 () * 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.0001328/0.5552, allocations: 117.7 kB / 473.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003/0.5555, allocations: 231.5 kB / 473.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.5555, allocations: 35.53 kB / 473.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.556, allocations: 271.5 kB / 474.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.556, allocations: 4 kB / 474.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.556, allocations: 0 / 474.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.556, allocations: 11.94 kB / 474.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.5564, allocations: 351.7 kB / 474.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5564, allocations: 0 / 474.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.5568, allocations: 66.97 kB / 474.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5568, allocations: 4 kB / 474.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5568, allocations: 3.984 kB / 474.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5568, allocations: 4 kB / 474.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5568, allocations: 4 kB / 474.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5573, allocations: 444.1 kB / 474.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.5574, allocations: 120.1 kB / 475 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.5575, allocations: 0 / 475 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5576, allocations: 4 kB / 475 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.5577, allocations: 23.78 kB / 475.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5577, allocations: 4 kB / 475.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002496/0.5579, allocations: 274.2 kB / 475.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5579, allocations: 0 / 475.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.5583, allocations: 55.75 kB / 475.4 MB, free: 10.56 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 () * 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.0007762/0.559, allocations: 0.9853 MB / 476.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.5594, allocations: 214.3 kB / 476.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5594, allocations: 0 / 476.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.5595, allocations: 102.5 kB / 476.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5598, allocations: 33.14 kB / 476.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5609, allocations: 0.6887 MB / 477.4 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.5614, allocations: 0.8694 MB / 478.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.5616, allocations: 59.25 kB / 478.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5618, allocations: 146.5 kB / 478.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5618, allocations: 7.938 kB / 478.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.5897, allocations: 5.569 MB / 484.1 MB, free: 2.199 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.59, allocations: 198.9 kB / 484.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.859, allocations: 0 / 484.3 MB, free: 1.938 MB / 346.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)