Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.0009684/0.0009684, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001007/0.001007, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9568/0.9568, allocations: 177.2 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.05415/0.05415, allocations: 8.614 MB / 268.6 MB, free: 4.926 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.904e-05, allocations: 2.312 kB / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002347/0.002366, allocations: 1.859 MB / 342.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.003165, allocations: 0.5563 MB / 343.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.003257, allocations: 4 kB / 343.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.003305, allocations: 23.67 kB / 343.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.003443, allocations: 35.67 kB / 343.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.003964, allocations: 187.3 kB / 343.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.004197, allocations: 203.4 kB / 343.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.004329, allocations: 40.48 kB / 343.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004445, allocations: 123.6 kB / 343.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004548, allocations: 71.7 kB / 344 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.004582, allocations: 20 kB / 344 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.004777, allocations: 151.8 kB / 344.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004817, allocations: 47.77 kB / 344.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.004874, allocations: 75.69 kB / 344.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.005192, allocations: 279.1 kB / 344.5 MB, free: 4.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005194, allocations: 3.938 kB / 344.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005195, allocations: 0 / 344.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.0052, allocations: 0 / 344.5 MB, free: 4.73 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006628/0.005863, allocations: 0.5809 MB / 345.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.0059, allocations: 15.97 kB / 345.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.005982, allocations: 40.75 kB / 345.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.006201, allocations: 207.6 kB / 345.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.006218, allocations: 16.36 kB / 345.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.006256, allocations: 16.38 kB / 345.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.006536, allocations: 286.6 kB / 345.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006547, allocations: 192 / 345.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.006566, allocations: 4.359 kB / 345.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.006576, allocations: 4.375 kB / 345.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.006676, allocations: 35.91 kB / 345.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.007379, allocations: 487.3 kB / 346.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.007686, allocations: 102.8 kB / 346.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.007767, allocations: 35.67 kB / 346.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.007779, allocations: 4 kB / 346.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.007962, allocations: 132.9 kB / 346.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.007963, allocations: 0 / 346.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004223/0.008386, allocations: 208.2 kB / 346.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.008439, allocations: 162.2 kB / 346.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.008656, allocations: 316.2 kB / 347.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.008679, allocations: 33.7 kB / 347.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.008768, allocations: 191.2 kB / 347.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.008813, allocations: 71.42 kB / 347.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.008889, allocations: 63.64 kB / 347.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.008964, allocations: 0.5117 MB / 348 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.009032, allocations: 32.2 kB / 348 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.009198, allocations: 330.5 kB / 348.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.009426, allocations: 238.8 kB / 348.6 MB, free: 224 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.009431, allocations: 3.938 kB / 348.6 MB, free: 220 kB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003422/0.009773, allocations: 233.4 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.00979, allocations: 8 kB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.009798, allocations: 4 kB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.009815, allocations: 4 kB / 348.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.01005, allocations: 63.84 kB / 348.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.01006, allocations: 8 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01018, allocations: 27.88 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.0102, allocations: 12 kB / 348.9 MB, free: 15.86 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001558/0.01036, allocations: 188.6 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.01041, allocations: 35.8 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.01046, allocations: 26.12 kB / 349.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.01047, allocations: 8.031 kB / 349.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01047, allocations: 0 / 349.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01048, allocations: 3.984 kB / 349.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.01101, allocations: 485.1 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01101, allocations: 0 / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.0112, allocations: 31.97 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.0112, allocations: 8 kB / 349.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01122, allocations: 7.938 kB / 349.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01122, allocations: 4 kB / 349.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01123, allocations: 0 / 349.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.01168, allocations: 369.8 kB / 350.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.01171, allocations: 23.8 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.01176, allocations: 11.98 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01187, allocations: 8 kB / 350.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.01193, allocations: 11.97 kB / 350.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.01195, allocations: 12 kB / 350.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.0121, allocations: 213.1 kB / 350.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0121, allocations: 0 / 350.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.01251, allocations: 79.86 kB / 350.4 MB, free: 14.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002367/0.01275, allocations: 175.4 kB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.01301, allocations: 132.9 kB / 350.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01302, allocations: 4.312 kB / 350.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01312, allocations: 63.59 kB / 350.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01349, allocations: 59.83 kB / 350.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.01448, allocations: 489.9 kB / 351.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.01454, allocations: 80.31 kB / 351.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.437e-05/0.01463, allocations: 30.28 kB / 351.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.01469, allocations: 24.5 kB / 351.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01469, allocations: 0 / 351.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Templates: time 0.007219/0.02191, allocations: 3.465 MB / 354.9 MB, free: 9.766 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7683386988937855]