Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000794/0.000794, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001827, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007132/0.0007132, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009235/0.001637, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9548/0.9548, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0839/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04367/0.04367, allocations: 5.892 MB / 250 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003334/0.04701, allocations: 2.117 MB / 252.2 MB, free: 7.141 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 253.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.462e-05, allocations: 9.828 kB / 253.4 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00509/0.005104, allocations: 4.088 MB / 257.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.007849, allocations: 2.211 MB / 259.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.008152, allocations: 98.88 kB / 259.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.008352, allocations: 201.4 kB / 260 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.008647, allocations: 193.9 kB / 260.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.009777, allocations: 1.213 MB / 261.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01101, allocations: 1.815 MB / 263.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.01134, allocations: 317.4 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.01222, allocations: 1.248 MB / 264.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.01263, allocations: 0.5137 MB / 265.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.01277, allocations: 144 kB / 265.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.01288, allocations: 144 kB / 265.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.01303, allocations: 258.9 kB / 265.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.01324, allocations: 335 kB / 266.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.01386, allocations: 0.9023 MB / 267.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.01388, allocations: 3.938 kB / 267.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01388, allocations: 0 / 267.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.01389, allocations: 4 kB / 267.1 MB, free: 8.098 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001893/0.01578, allocations: 2.143 MB / 269.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01582, allocations: 12.03 kB / 269.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.01601, allocations: 220.8 kB / 269.5 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.0172, allocations: 0.9392 MB / 270.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.01733, allocations: 316.9 kB / 270.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.01745, allocations: 152.3 kB / 270.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.01836, allocations: 1.431 MB / 272.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.01838, allocations: 4.125 kB / 272.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/0.01843, allocations: 56.38 kB / 272.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.01846, allocations: 44.11 kB / 272.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.01895, allocations: 429.3 kB / 272.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/0.133, allocations: 4.507 MB / 277.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.134, allocations: 0.6578 MB / 278 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.1345, allocations: 410 kB / 278.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.1346, allocations: 36.55 kB / 278.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1346, allocations: 45 kB / 278.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=120): time 2.935e-06/0.1346, allocations: 1.062 kB / 278.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.0007928/0.1354, allocations: 0.6127 MB / 279.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1354, allocations: 68.62 kB / 279.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.136, allocations: 0.9643 MB / 280.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.1361, allocations: 54.08 kB / 280.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1363, allocations: 0.52 MB / 280.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1365, allocations: 477.6 kB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.1367, allocations: 342.8 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.357e-05/0.1368, allocations: 302.8 kB / 281.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.137, allocations: 171.4 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.1374, allocations: 0.9922 MB / 282.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.1381, allocations: 0.9877 MB / 283.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.1381, allocations: 4.531 kB / 283.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.0009744/0.1391, allocations: 0.9151 MB / 284.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1391, allocations: 12.23 kB / 284.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1391, allocations: 12.27 kB / 284.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1391, allocations: 27.03 kB / 284.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.1404, allocations: 0.5648 MB / 285.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.1404, allocations: 32.14 kB / 285.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.1407, allocations: 161.8 kB / 285.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.1408, allocations: 58.48 kB / 285.7 MB, free: 6.887 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 32 (R_FO.ATreq_in,R_FO.satHIGH_in,R_FO.satLOW_in,R_FOD.ATreq_in,R_FOD.satHIGH_in,R_FOD.satLOW_in,R_i.ATreq_in,R_i.satHIGH_in,R_i.satLOW_in,R_iD.ATreq_in,R_iD.satHIGH_in,R_iD.satLOW_in,R_OS.ATreq_in,R_OS.satHIGH_in,R_OS.satLOW_in,R_US.ATreq_in,R_US.satHIGH_in,R_US.satLOW_in,R_Osc.ATreq_in,R_Osc.satHIGH_in,R_Osc.satLOW_in,R_FO.TS_in,R_FOD.TS_in,R_i.TS_in,R_iD.TS_in,R_OS.TS_in,R_US.TS_in,R_Osc.TS_in,R_FS.TS_in,R_FS.ATreq_in,R_FS.satHIGH_in,R_FS.satLOW_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 224 * 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.0001932/0.141, allocations: 228 kB / 285.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1411, allocations: 117.4 kB / 286 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.1419, allocations: 0.7521 MB / 286.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1419, allocations: 15.69 kB / 286.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1419, allocations: 0 / 286.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1419, allocations: 7.875 kB / 286.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1437, allocations: 1.65 MB / 288.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1437, allocations: 1.828 kB / 288.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.1449, allocations: 0.4982 MB / 289 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.145, allocations: 149.8 kB / 289.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.145, allocations: 11.56 kB / 289.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.145, allocations: 36.27 kB / 289.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.145, allocations: 6.75 kB / 289.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.145, allocations: 2.375 kB / 289.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.1458, allocations: 0.9935 MB / 290.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.1458, allocations: 35.81 kB / 290.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.1461, allocations: 34.36 kB / 290.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1461, allocations: 87.06 kB / 290.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.1462, allocations: 27.12 kB / 290.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.1465, allocations: 448.6 kB / 290.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1465, allocations: 0 / 290.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000443/0.1469, allocations: 284.3 kB / 291.1 MB, free: 5.805 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (136): * Single equations (assignments): 136 * 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.0001148/0.147, allocations: 135.1 kB / 291.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.1476, allocations: 0.7422 MB / 291.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.969e-05/0.1476, allocations: 29.25 kB / 292 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.1479, allocations: 407.7 kB / 292.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1483, allocations: 238.2 kB / 292.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1505, allocations: 2.674 MB / 295.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1508, allocations: 0.6344 MB / 295.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.1513, allocations: 326.6 kB / 296.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1513, allocations: 0 / 296.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of Templates: time 0.01206/0.1634, allocations: 16.62 MB / 312.8 MB, free: 2.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8889284655451775]