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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002065, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05817/0.05817, allocations: 10.74 MB / 280.5 MB, free: 10.51 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.001565/0.001565, allocations: 63.91 kB / 340.6 MB, free: 23.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07521, allocations: 49.02 MB / 389.7 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003218/0.07846, allocations: 2.283 MB / 391.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.07963, allocations: 0.6351 MB / 392.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.07979, allocations: 15.88 kB / 392.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.08, allocations: 67.38 kB / 392.7 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.08012, allocations: 47.48 kB / 392.7 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.08073, allocations: 319.4 kB / 393 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.08129, allocations: 0.6443 MB / 393.7 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.08148, allocations: 110.6 kB / 393.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.08172, allocations: 203.3 kB / 394 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.08196, allocations: 203 kB / 394.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.08202, allocations: 36 kB / 394.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.08208, allocations: 40 kB / 394.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.08224, allocations: 155.5 kB / 394.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.08244, allocations: 194.8 kB / 394.6 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.08286, allocations: 474.3 kB / 395.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.08287, allocations: 0 / 395.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.08288, allocations: 0 / 395.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.08289, allocations: 3.938 kB / 395.1 MB, free: 0.7031 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.001122/0.08402, allocations: 0.744 MB / 395.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.08406, allocations: 8.031 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.08414, allocations: 70.67 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.08422, allocations: 52.28 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.0847, allocations: 414 kB / 396.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.08473, allocations: 25.03 kB / 396.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.0848, allocations: 32.38 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.08542, allocations: 412.1 kB / 396.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.08545, allocations: 7.938 kB / 396.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.08548, allocations: 8 kB / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.08549, allocations: 11.94 kB / 396.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.08603, allocations: 310.4 kB / 397.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.08805, allocations: 1.596 MB / 398.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.08837, allocations: 198.5 kB / 398.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.08854, allocations: 100.5 kB / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.08858, allocations: 7.984 kB / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.08861, allocations: 38.52 kB / 399.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.08862, allocations: 4 kB / 399.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005943/0.08921, allocations: 320.9 kB / 399.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.08926, allocations: 67.3 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.0897, allocations: 461.8 kB / 399.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.08973, allocations: 29.7 kB / 399.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.0899, allocations: 263.8 kB / 400.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.08996, allocations: 78.84 kB / 400.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.09006, allocations: 69.94 kB / 400.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.09019, allocations: 358.8 kB / 400.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.09037, allocations: 92.27 kB / 400.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.09064, allocations: 232.8 kB / 401 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.09217, allocations: 0.5783 MB / 401.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.09219, allocations: 4 kB / 401.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005922/0.09279, allocations: 397 kB / 402 MB, free: 9.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.09281, allocations: 12.08 kB / 402 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.09283, allocations: 8 kB / 402 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.09285, allocations: 8 kB / 402 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.09321, allocations: 91.83 kB / 402.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.09323, allocations: 8 kB / 402.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.09339, allocations: 35.59 kB / 402.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.09343, allocations: 23.94 kB / 402.1 MB, free: 9.207 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.0002131/0.09365, allocations: 206.6 kB / 402.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.09372, allocations: 39.53 kB / 402.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.09426, allocations: 313.4 kB / 402.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.09427, allocations: 0 / 402.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.09428, allocations: 0 / 402.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.09429, allocations: 0 / 402.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.09471, allocations: 417.2 kB / 403.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.09472, allocations: 0 / 403.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.09507, allocations: 63.95 kB / 403.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.09508, allocations: 3.938 kB / 403.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.09511, allocations: 12 kB / 403.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.09511, allocations: 0 / 403.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.09512, allocations: 0 / 403.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.09576, allocations: 495.1 kB / 403.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.09586, allocations: 124.6 kB / 403.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.0959, allocations: 4 kB / 403.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.09605, allocations: 12 kB / 403.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.0961, allocations: 19.91 kB / 403.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.09612, allocations: 4 kB / 403.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.09643, allocations: 323 kB / 404.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09644, allocations: 0 / 404.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.09678, allocations: 71.75 kB / 404.2 MB, free: 7.043 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.0008717/0.09766, allocations: 1.04 MB / 405.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.09814, allocations: 268.8 kB / 405.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09816, allocations: 4 kB / 405.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.09836, allocations: 123.8 kB / 405.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.09873, allocations: 42.44 kB / 405.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.1029, allocations: 3.914 MB / 409.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1034, allocations: 0.8539 MB / 410.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1036, allocations: 71.23 kB / 410.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1037, allocations: 147.4 kB / 410.7 MB, free: 356 kB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1038, allocations: 0 / 410.7 MB, free: 356 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1276, allocations: 6.67 MB / 417.3 MB, free: 9.773 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.676, allocations: 16.41 kB / 417.3 MB, free: 9.758 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)