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.0008207/0.0008207, allocations: 86.95 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.0009004/0.0009004, 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.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05451/0.05451, allocations: 10.75 MB / 281.1 MB, free: 10.52 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.0004696/0.0004697, allocations: 19.06 kB / 341.7 MB, free: 23.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07384/0.07432, allocations: 50 MB / 391.7 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003484/0.07785, allocations: 3.478 MB / 395.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.08074, allocations: 1.639 MB / 396.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.08148, allocations: 63.38 kB / 396.9 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.08171, allocations: 98.81 kB / 397 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.08209, allocations: 98.97 kB / 397.1 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.08344, allocations: 0.6553 MB / 397.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.08466, allocations: 1.286 MB / 399 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.08513, allocations: 319.3 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.08572, allocations: 0.4935 MB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.08621, allocations: 465.1 kB / 400.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.08632, allocations: 48 kB / 400.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.08641, allocations: 44 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.08659, allocations: 214.9 kB / 400.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.08675, allocations: 216.8 kB / 400.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.08747, allocations: 0.8771 MB / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.08748, allocations: 0 / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08749, allocations: 0 / 401.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.08751, allocations: 0 / 401.7 MB, free: 11.64 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.002301/0.08982, allocations: 1.456 MB / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.08987, allocations: 12.03 kB / 403.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.09005, allocations: 148.1 kB / 403.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.09024, allocations: 170 kB / 403.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.09136, allocations: 0.8382 MB / 404.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.09155, allocations: 303.6 kB / 404.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.09171, allocations: 123.8 kB / 404.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.09328, allocations: 1.117 MB / 405.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.09332, allocations: 0 / 405.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.09342, allocations: 40 kB / 405.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.09345, allocations: 24 kB / 405.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.09466, allocations: 0.7298 MB / 406.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.09935, allocations: 3.879 MB / 410.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.1008, allocations: 0.8332 MB / 411.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.1014, allocations: 422.3 kB / 411.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.1015, allocations: 16.94 kB / 411.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1016, allocations: 47.56 kB / 411.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.965e-06/0.1016, allocations: 0 / 411.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.001771/0.1033, allocations: 1.088 MB / 412.9 MB, free: 20 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.1035, allocations: 380.8 kB / 413.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.1045, allocations: 0.9027 MB / 414.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.1046, allocations: 49.7 kB / 414.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.105, allocations: 0.59 MB / 414.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.1053, allocations: 382.4 kB / 415.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.1053, allocations: 32 kB / 415.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1055, allocations: 357.9 kB / 415.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.1061, allocations: 347.8 kB / 415.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.1069, allocations: 0.7563 MB / 416.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.1077, allocations: 462.2 kB / 417.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.1077, allocations: 8 kB / 417.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001898/0.1096, allocations: 1.254 MB / 418.4 MB, free: 10.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1096, allocations: 15.03 kB / 418.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1096, allocations: 12 kB / 418.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.1097, allocations: 19.94 kB / 418.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.111, allocations: 351.5 kB / 418.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.1111, allocations: 19.94 kB / 418.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.1117, allocations: 138.6 kB / 418.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.1118, allocations: 59.98 kB / 419 MB, free: 9.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004143/0.1122, allocations: 282 kB / 419.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1123, allocations: 118.5 kB / 419.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.1141, allocations: 1.06 MB / 420.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.1141, allocations: 12 kB / 420.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1141, allocations: 0 / 420.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1142, allocations: 7.969 kB / 420.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1154, allocations: 1.063 MB / 421.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1154, allocations: 4 kB / 421.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.117, allocations: 307.6 kB / 421.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.117, allocations: 4 kB / 421.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.1171, allocations: 31.98 kB / 421.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.1171, allocations: 4 kB / 421.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1171, allocations: 0 / 421.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.1191, allocations: 1.467 MB / 423.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1193, allocations: 207.2 kB / 423.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.1194, allocations: 24 kB / 423.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.1199, allocations: 35.97 kB / 423.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.12, allocations: 68.91 kB / 423.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.1201, allocations: 35.98 kB / 423.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006801/0.1208, allocations: 0.5748 MB / 424.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1208, allocations: 0 / 424.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007235/0.1215, allocations: 235.4 kB / 424.5 MB, free: 4.012 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 (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.002283/0.1238, allocations: 2.038 MB / 426.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.1253, allocations: 0.9417 MB / 427.5 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1253, allocations: 4 kB / 427.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.1259, allocations: 441.8 kB / 427.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.1266, allocations: 152.3 kB / 428.1 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1465/0.2731, allocations: 8.017 MB / 436.1 MB, free: 38.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.2738, allocations: 1.159 MB / 437.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008378/0.2746, allocations: 176.3 kB / 437.4 MB, free: 37.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.2752, allocations: 0.5369 MB / 437.9 MB, free: 36.94 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2752, allocations: 0 / 437.9 MB, free: 36.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.308, allocations: 19.6 MB / 457.5 MB, free: 24.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.3082, allocations: 217.6 kB / 457.8 MB, free: 24.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.346, allocations: 0 / 457.8 MB, free: 24.09 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/linux/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) Environment - environmentSimulation: