Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",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.001048/0.001048, 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.001301/0.001301, allocations: 190.9 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.304/1.304, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05498/0.05498, allocations: 10.73 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.001401/0.001401, allocations: 75.83 kB / 340.1 MB, free: 23.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.0955, allocations: 49.01 MB / 389.2 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006303/0.1019, allocations: 4.163 MB / 393.3 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.105, allocations: 1.669 MB / 395 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.1055, allocations: 67.38 kB / 395.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1059, allocations: 98.81 kB / 395.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.1064, allocations: 115 kB / 395.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.108, allocations: 0.792 MB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.1094, allocations: 1.489 MB / 397.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.1101, allocations: 424.6 kB / 398 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.1108, allocations: 0.6416 MB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000572/0.1114, allocations: 0.567 MB / 399.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.1116, allocations: 120 kB / 399.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1117, allocations: 124 kB / 399.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.1119, allocations: 314.7 kB / 399.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.1124, allocations: 0.5978 MB / 400.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1137, allocations: 1.241 MB / 401.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1137, allocations: 7.938 kB / 401.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1137, allocations: 0 / 401.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.1137, allocations: 0 / 401.6 MB, free: 10.03 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002782/0.1165, allocations: 1.681 MB / 403.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1166, allocations: 11.89 kB / 403.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1167, allocations: 156.3 kB / 403.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.117, allocations: 171 kB / 403.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1182, allocations: 0.8815 MB / 404.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.1184, allocations: 304.2 kB / 404.8 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1185, allocations: 124.2 kB / 404.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.1202, allocations: 1.117 MB / 406 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.1203, allocations: 3.938 kB / 406 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/0.1204, allocations: 51.98 kB / 406 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1204, allocations: 24 kB / 406.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1216, allocations: 0.7221 MB / 406.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.1265, allocations: 3.843 MB / 410.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.1279, allocations: 0.8445 MB / 411.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.1285, allocations: 414.3 kB / 411.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/0.1286, allocations: 25.05 kB / 411.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1286, allocations: 47.56 kB / 412 MB, free: 15.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.935e-06/0.1286, allocations: 0 / 412 MB, free: 15.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001865/0.1305, allocations: 1.088 MB / 413 MB, free: 14.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.1307, allocations: 372.8 kB / 413.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.1318, allocations: 0.9187 MB / 414.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.1319, allocations: 45.7 kB / 414.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.1323, allocations: 0.5938 MB / 415 MB, free: 12.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.1326, allocations: 378.5 kB / 415.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.1329, allocations: 263.5 kB / 415.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1331, allocations: 357.9 kB / 415.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.1337, allocations: 351.9 kB / 416.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/0.1346, allocations: 0.7563 MB / 417 MB, free: 9.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.1361, allocations: 1.084 MB / 418.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1361, allocations: 0 / 418.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001997/0.1381, allocations: 1.273 MB / 419.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1381, allocations: 12 kB / 419.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1381, allocations: 8 kB / 419.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.1382, allocations: 16 kB / 419.4 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.1397, allocations: 339.5 kB / 419.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.999e-05/0.1397, allocations: 27.92 kB / 419.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.1404, allocations: 134.7 kB / 419.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.1405, allocations: 56 kB / 420 MB, free: 6.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0004569/0.141, allocations: 285.9 kB / 420.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1412, allocations: 134.3 kB / 420.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.143, allocations: 1.045 MB / 421.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.143, allocations: 12 kB / 421.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.143, allocations: 0 / 421.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.143, allocations: 3.984 kB / 421.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1443, allocations: 1.067 MB / 422.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1443, allocations: 0 / 422.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.1462, allocations: 311.6 kB / 422.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.1462, allocations: 4 kB / 422.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/0.1463, allocations: 31.98 kB / 422.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.1463, allocations: 4 kB / 422.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1463, allocations: 0 / 422.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.1484, allocations: 1.463 MB / 424.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1485, allocations: 207.2 kB / 424.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.1487, allocations: 24 kB / 424.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.1492, allocations: 31.98 kB / 424.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.1494, allocations: 80.83 kB / 424.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.1495, allocations: 31.98 kB / 424.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007275/0.1502, allocations: 0.5865 MB / 425.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1502, allocations: 4 kB / 425.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.151, allocations: 231.4 kB / 425.5 MB, free: 1.117 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * 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 (115): * Single equations (assignments): 115 * 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.1757/0.3266, allocations: 2.035 MB / 427.5 MB, free: 41.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.3297, allocations: 0.9967 MB / 428.5 MB, free: 41.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3297, allocations: 0 / 428.5 MB, free: 41.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.3306, allocations: 457.3 kB / 429 MB, free: 41.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3316, allocations: 147.3 kB / 429.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.3492, allocations: 11.39 MB / 440.5 MB, free: 34.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/0.3502, allocations: 1.157 MB / 441.7 MB, free: 34.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000912/0.3512, allocations: 179.3 kB / 441.8 MB, free: 34.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/0.3519, allocations: 0.5352 MB / 442.4 MB, free: 33.75 MB / 318.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3519, allocations: 1.188 kB / 442.4 MB, free: 33.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.3884, allocations: 20.72 MB / 463.1 MB, free: 17.51 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.3886, allocations: 242 kB / 463.3 MB, free: 17.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/2.961, allocations: 0.5469 kB / 463.3 MB, free: 17.25 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1)