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.0007495/0.0007496, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0007706/0.0007706, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05173/0.05173, allocations: 10.75 MB / 281.1 MB, free: 10.55 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.0004471/0.0004471, allocations: 14.97 kB / 341.7 MB, free: 23.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07155/0.072, allocations: 50 MB / 391.7 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002096/0.07413, allocations: 1.879 MB / 393.6 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.07517, allocations: 0.6197 MB / 394.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.07535, allocations: 11.88 kB / 394.3 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.07552, allocations: 43.59 kB / 394.3 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.07562, allocations: 23.73 kB / 394.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.07619, allocations: 247.5 kB / 394.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.07677, allocations: 0.5505 MB / 395.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.07693, allocations: 77.75 kB / 395.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.07714, allocations: 183.1 kB / 395.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.07738, allocations: 179.1 kB / 395.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.07743, allocations: 12 kB / 395.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.713e-05/0.07748, allocations: 12 kB / 395.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.0776, allocations: 115.6 kB / 395.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.07769, allocations: 93.45 kB / 395.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.07797, allocations: 343.5 kB / 396.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.07799, allocations: 0 / 396.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.07799, allocations: 3.938 kB / 396.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.07801, allocations: 0 / 396.1 MB, free: 1.27 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.0009174/0.07893, allocations: 0.6699 MB / 396.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.07897, allocations: 8.031 kB / 396.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.07905, allocations: 70.53 kB / 396.9 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.07913, allocations: 55.3 kB / 396.9 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.07959, allocations: 404.9 kB / 397.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.07962, allocations: 24.66 kB / 397.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.07967, allocations: 32 kB / 397.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.08029, allocations: 411.5 kB / 397.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.08031, allocations: 0 / 397.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.08035, allocations: 16 kB / 397.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.08036, allocations: 8 kB / 397.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.08089, allocations: 322.3 kB / 398.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.08278, allocations: 1.6 MB / 399.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.08311, allocations: 206.4 kB / 399.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.08328, allocations: 104.8 kB / 400 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.08331, allocations: 4 kB / 400 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.08334, allocations: 34.56 kB / 400 MB, free: 13.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.08335, allocations: 0 / 400 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005786/0.08393, allocations: 337.2 kB / 400.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.08397, allocations: 59.36 kB / 400.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.08442, allocations: 461.8 kB / 400.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.08444, allocations: 29.7 kB / 400.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.08462, allocations: 259.8 kB / 401.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.08468, allocations: 78.89 kB / 401.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.0847, allocations: 8 kB / 401.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.08484, allocations: 354.8 kB / 401.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.08502, allocations: 96.27 kB / 401.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.08526, allocations: 236.9 kB / 401.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.08549, allocations: 145 kB / 402.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0855, allocations: 0 / 402.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005731/0.08608, allocations: 412.6 kB / 402.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.08611, allocations: 4 kB / 402.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.08612, allocations: 4 kB / 402.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.08614, allocations: 11.95 kB / 402.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.08647, allocations: 95.83 kB / 402.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.08649, allocations: 4.469 kB / 402.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.08665, allocations: 43.59 kB / 402.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.08668, allocations: 19.94 kB / 402.6 MB, free: 10.38 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.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.0002119/0.0869, allocations: 206.5 kB / 402.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.08696, allocations: 39.53 kB / 402.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.0875, allocations: 321.4 kB / 403.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.08751, allocations: 4 kB / 403.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.08752, allocations: 7.938 kB / 403.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.08753, allocations: 0 / 403.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.08794, allocations: 405.2 kB / 403.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.08795, allocations: 0 / 403.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.08827, allocations: 75.89 kB / 403.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.08829, allocations: 0 / 403.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.08831, allocations: 8 kB / 403.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.08832, allocations: 0 / 403.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08833, allocations: 4 kB / 403.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.08895, allocations: 0.4913 MB / 404.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.08904, allocations: 128.6 kB / 404.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.08908, allocations: 0 / 404.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.08921, allocations: 12 kB / 404.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.08926, allocations: 19.97 kB / 404.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.08928, allocations: 4 kB / 404.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.08959, allocations: 319.1 kB / 404.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08959, allocations: 0 / 404.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.08992, allocations: 67.75 kB / 404.7 MB, free: 8.207 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 (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.0008268/0.09076, allocations: 1.042 MB / 405.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.09119, allocations: 260.9 kB / 406 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0912, allocations: 3.938 kB / 406 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.09139, allocations: 123.9 kB / 406.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.09171, allocations: 45.89 kB / 406.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.09495, allocations: 2.591 MB / 408.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.09534, allocations: 0.8541 MB / 409.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.09554, allocations: 71.23 kB / 409.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.09573, allocations: 143.4 kB / 409.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09573, allocations: 0 / 409.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1113, allocations: 6.494 MB / 416.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1115, allocations: 246 kB / 416.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.733, allocations: 7.938 kB / 416.6 MB, free: 12.28 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/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) Environment - environmentSimulation: