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.00135/0.00135, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001607/0.001607, allocations: 177.3 kB / 15.95 MB, free: 216 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.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05648/0.05648, allocations: 10.73 MB / 281.1 MB, free: 10.56 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.0005263/0.0005264, allocations: 15.98 kB / 341.7 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 50 MB / 391.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002909/0.1078, allocations: 1.886 MB / 393.6 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1093, allocations: 0.6235 MB / 394.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.1097, allocations: 7.938 kB / 394.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.11, allocations: 43.64 kB / 394.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1102, allocations: 39.81 kB / 394.3 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009014/0.1111, allocations: 235.5 kB / 394.5 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.112, allocations: 344.2 kB / 394.9 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1123, allocations: 85.67 kB / 394.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.1127, allocations: 171.2 kB / 395.1 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1131, allocations: 171.2 kB / 395.3 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1133, allocations: 16 kB / 395.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.1133, allocations: 12 kB / 395.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1135, allocations: 119.6 kB / 395.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1136, allocations: 85.45 kB / 395.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.114, allocations: 343.5 kB / 395.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.114, allocations: 4 kB / 395.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.114, allocations: 0 / 395.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.114, allocations: 0 / 395.8 MB, free: 1.516 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.001191/0.1152, allocations: 0.666 MB / 396.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1153, allocations: 12.03 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.793e-05/0.1154, allocations: 66.53 kB / 396.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.1155, allocations: 59.3 kB / 396.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.1162, allocations: 396.9 kB / 397 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1162, allocations: 32.66 kB / 397.1 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1163, allocations: 32 kB / 397.1 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.117, allocations: 403.5 kB / 397.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.117, allocations: 4 kB / 397.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.1171, allocations: 20 kB / 397.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1171, allocations: 8 kB / 397.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.1176, allocations: 314.3 kB / 397.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1198, allocations: 1.604 MB / 399.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.1202, allocations: 206.4 kB / 399.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1202, allocations: 4 kB / 399.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1203, allocations: 38.5 kB / 399.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.1203, allocations: 0 / 399.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006591/0.1209, allocations: 337.3 kB / 400 MB, free: 13.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.121, allocations: 55.39 kB / 400.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.1215, allocations: 461.8 kB / 400.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1215, allocations: 29.7 kB / 400.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.1218, allocations: 263.8 kB / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.1218, allocations: 78.91 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.1219, allocations: 4 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1221, allocations: 358.8 kB / 401.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1223, allocations: 100.3 kB / 401.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1226, allocations: 225 kB / 401.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1228, allocations: 145 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1228, allocations: 3.938 kB / 401.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005909/0.1234, allocations: 404.7 kB / 402.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1234, allocations: 11.12 kB / 402.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1235, allocations: 7.984 kB / 402.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1235, allocations: 8 kB / 402.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.1239, allocations: 91.83 kB / 402.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1239, allocations: 12.36 kB / 402.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1241, allocations: 47.58 kB / 402.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.1241, allocations: 16 kB / 402.3 MB, free: 10.74 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.0002794/0.1244, allocations: 194.6 kB / 402.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.1245, allocations: 35.53 kB / 402.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000604/0.1251, allocations: 321.4 kB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1251, allocations: 11.94 kB / 402.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1251, allocations: 0 / 402.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1251, allocations: 3.953 kB / 402.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1256, allocations: 409.2 kB / 403.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1256, allocations: 0 / 403.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.126, allocations: 67.97 kB / 403.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.126, allocations: 3.938 kB / 403.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.126, allocations: 8 kB / 403.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.126, allocations: 0 / 403.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.126, allocations: 4 kB / 403.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.1268, allocations: 0.4952 MB / 403.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1269, allocations: 124.6 kB / 403.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1269, allocations: 0 / 403.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1271, allocations: 15.98 kB / 403.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1271, allocations: 15.98 kB / 404 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1272, allocations: 4 kB / 404 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003396/0.1275, allocations: 319.1 kB / 404.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1275, allocations: 0 / 404.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1279, allocations: 67.75 kB / 404.3 MB, free: 8.574 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.0009966/0.1289, allocations: 1.043 MB / 405.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.1294, allocations: 264.8 kB / 405.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1294, allocations: 0 / 405.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.1296, allocations: 123.9 kB / 405.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1298, allocations: 37.89 kB / 405.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.1346, allocations: 5.279 MB / 411.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.1352, allocations: 0.8658 MB / 412 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.1354, allocations: 67.23 kB / 412 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.1356, allocations: 147.4 kB / 412.2 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1356, allocations: 4 kB / 412.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.1541, allocations: 6.479 MB / 418.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.1544, allocations: 232.2 kB / 418.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.027, allocations: 0 / 418.9 MB, free: 9.996 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: