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.00128/0.00128, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 188 kB / 16.25 MB, free: 6.629 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05666/0.05666, allocations: 10.74 MB / 280.2 MB, free: 10.69 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.001377/0.001377, allocations: 72.41 kB / 340.1 MB, free: 23.59 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 49.01 MB / 389.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003842/0.1148, allocations: 2.321 MB / 391.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1161, allocations: 0.6234 MB / 392.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1162, allocations: 15.88 kB / 392.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1165, allocations: 55.58 kB / 392.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1166, allocations: 27.73 kB / 392.2 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.1173, allocations: 303.6 kB / 392.5 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000757/0.1181, allocations: 0.6481 MB / 393.1 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.1183, allocations: 102.7 kB / 393.2 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1186, allocations: 207.2 kB / 393.4 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1189, allocations: 214.9 kB / 393.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.119, allocations: 36 kB / 393.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/0.1191, allocations: 36 kB / 393.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1193, allocations: 151.5 kB / 393.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1195, allocations: 194.8 kB / 394.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.1201, allocations: 470.3 kB / 394.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1201, allocations: 0 / 394.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1201, allocations: 0 / 394.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1201, allocations: 4 kB / 394.5 MB, free: 1.113 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.001423/0.1215, allocations: 0.7439 MB / 395.3 MB, free: 324 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.1216, allocations: 8.031 kB / 395.3 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.061e-05/0.1217, allocations: 70.72 kB / 395.4 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.1218, allocations: 56.28 kB / 395.4 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.1225, allocations: 410 kB / 395.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.1225, allocations: 29.03 kB / 395.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.1226, allocations: 44.25 kB / 395.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.1233, allocations: 400.1 kB / 396.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.1233, allocations: 15.91 kB / 396.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.1234, allocations: 16 kB / 396.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1234, allocations: 8 kB / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.1239, allocations: 302.4 kB / 396.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1262, allocations: 1.596 MB / 398.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.1266, allocations: 202.4 kB / 398.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1268, allocations: 101.1 kB / 398.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1268, allocations: 4 kB / 398.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1269, allocations: 38.52 kB / 398.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.619e-05/0.1269, allocations: 0 / 398.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006627/0.1276, allocations: 324.9 kB / 398.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1276, allocations: 59.36 kB / 398.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.1282, allocations: 461.8 kB / 399.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1283, allocations: 29.7 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.1286, allocations: 271.8 kB / 399.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.1286, allocations: 82.78 kB / 399.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1288, allocations: 73.92 kB / 399.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.129, allocations: 350.8 kB / 400.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1291, allocations: 92.27 kB / 400.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.1294, allocations: 224.9 kB / 400.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1311, allocations: 0.5872 MB / 401.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1311, allocations: 0 / 401.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007172/0.1319, allocations: 412.5 kB / 401.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.1319, allocations: 4 kB / 401.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1319, allocations: 4 kB / 401.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/0.132, allocations: 8.562 kB / 401.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.1324, allocations: 87.89 kB / 401.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1324, allocations: 11.94 kB / 401.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1326, allocations: 43.58 kB / 401.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.1326, allocations: 19.94 kB / 401.6 MB, free: 9.602 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.0002904/0.1329, allocations: 194.7 kB / 401.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.133, allocations: 43.53 kB / 401.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.1335, allocations: 301.4 kB / 402.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1336, allocations: 8 kB / 402.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1336, allocations: 0 / 402.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1336, allocations: 3.938 kB / 402.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1341, allocations: 417.2 kB / 402.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1341, allocations: 3.984 kB / 402.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.1344, allocations: 63.91 kB / 402.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1344, allocations: 0 / 402.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1345, allocations: 8 kB / 402.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1345, allocations: 0 / 402.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1345, allocations: 4 kB / 402.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.1352, allocations: 0.4914 MB / 403.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1353, allocations: 112.6 kB / 403.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.1353, allocations: 8.062 kB / 403.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1355, allocations: 15.92 kB / 403.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.1355, allocations: 11.98 kB / 403.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1356, allocations: 12 kB / 403.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.136, allocations: 327 kB / 403.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.136, allocations: 0 / 403.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1364, allocations: 67.75 kB / 403.7 MB, free: 7.445 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.001086/0.1375, allocations: 1.036 MB / 404.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.1381, allocations: 275.7 kB / 405 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1381, allocations: 1.125 kB / 405 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1383, allocations: 107.9 kB / 405.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1387, allocations: 50.55 kB / 405.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.1439, allocations: 4.046 MB / 409.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1445, allocations: 0.85 MB / 410 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1447, allocations: 75.17 kB / 410.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.1449, allocations: 151.3 kB / 410.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1449, allocations: 0 / 410.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.1662, allocations: 6.545 MB / 416.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.1665, allocations: 265.5 kB / 417.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.162, allocations: 3.438 kB / 417.1 MB, free: 9.848 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)