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.001462/0.001462, allocations: 77.14 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001723/0.001723, allocations: 173 kB / 23.28 MB, free: 1.219 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 1.03/1.03, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.03954/0.03954, allocations: 8.608 MB / 268.9 MB, free: 4.754 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 2.084e-06/2.084e-06, allocations: 0 / 341.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.578e-05, allocations: 5.125 kB / 341.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.001979/0.002005, allocations: 1.829 MB / 343.2 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.002714, allocations: 0.5485 MB / 343.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.00282, allocations: 0 / 343.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.002863, allocations: 19.73 kB / 343.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.002991, allocations: 43.61 kB / 343.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.003408, allocations: 179.4 kB / 343.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.003578, allocations: 211.4 kB / 344.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003692, allocations: 44.42 kB / 344.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.003792, allocations: 119.6 kB / 344.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.003875, allocations: 71.7 kB / 344.4 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.0039, allocations: 24 kB / 344.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.004062, allocations: 143.9 kB / 344.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.004095, allocations: 55.69 kB / 344.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.004133, allocations: 67.75 kB / 344.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.004363, allocations: 287 kB / 344.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004366, allocations: 0 / 344.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004366, allocations: 0 / 344.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.00437, allocations: 0 / 344.9 MB, free: 4.469 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.0004131/0.004783, allocations: 0.5887 MB / 345.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.004815, allocations: 16.02 kB / 345.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.004853, allocations: 32.75 kB / 345.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.004983, allocations: 211.6 kB / 345.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.004992, allocations: 8.375 kB / 345.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.005016, allocations: 20.36 kB / 345.8 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.005176, allocations: 273.9 kB / 346.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005183, allocations: 192 / 346.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.005194, allocations: 4.375 kB / 346.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005198, allocations: 4.375 kB / 346.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.005241, allocations: 39.91 kB / 346.1 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.005662, allocations: 439.9 kB / 346.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005779, allocations: 98.97 kB / 346.7 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.005814, allocations: 31.77 kB / 346.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.005823, allocations: 19.91 kB / 346.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.005935, allocations: 119.6 kB / 346.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.005936, allocations: 0 / 346.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002249/0.006161, allocations: 185.4 kB / 347 MB, free: 2.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.006198, allocations: 170.2 kB / 347.2 MB, free: 2.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.006304, allocations: 308.1 kB / 347.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.00632, allocations: 33.7 kB / 347.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.006382, allocations: 203.2 kB / 347.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.00641, allocations: 67.41 kB / 347.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.006461, allocations: 71.61 kB / 347.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.00651, allocations: 0.5078 MB / 348.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.006534, allocations: 24.27 kB / 348.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.006614, allocations: 314.5 kB / 348.7 MB, free: 364 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.006732, allocations: 226.7 kB / 348.9 MB, free: 68 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.006735, allocations: 7.938 kB / 348.9 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002295/0.006965, allocations: 224.7 kB / 349.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.006979, allocations: 8 kB / 349.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.006985, allocations: 4 kB / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006996, allocations: 4 kB / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.007142, allocations: 63.91 kB / 349.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.007149, allocations: 12.41 kB / 349.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.007222, allocations: 27.88 kB / 349.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.007231, allocations: 12 kB / 349.3 MB, free: 15.71 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.0001224/0.007354, allocations: 184.4 kB / 349.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.007384, allocations: 31.81 kB / 349.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.00742, allocations: 34.11 kB / 349.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007422, allocations: 0 / 349.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.007424, allocations: 0 / 349.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007428, allocations: 0 / 349.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.007759, allocations: 452.3 kB / 349.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007761, allocations: 0 / 349.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.007875, allocations: 31.97 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.007878, allocations: 4 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.007891, allocations: 4 kB / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007892, allocations: 4 kB / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007894, allocations: 0 / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.008251, allocations: 360.1 kB / 350.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.008281, allocations: 27.8 kB / 350.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.008311, allocations: 16.05 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.008382, allocations: 8 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.008415, allocations: 15.97 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.008423, allocations: 4 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.008516, allocations: 205.1 kB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008516, allocations: 0 / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.008768, allocations: 75.86 kB / 350.7 MB, free: 14.22 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.0001622/0.00893, allocations: 176.1 kB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.009081, allocations: 120.5 kB / 351 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.009082, allocations: 0 / 351 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.009142, allocations: 59.58 kB / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.009368, allocations: 57.03 kB / 351.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.01001, allocations: 490.6 kB / 351.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.01006, allocations: 84.31 kB / 351.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.01012, allocations: 30.31 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.01023, allocations: 126.2 kB / 351.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01023, allocations: 0 / 351.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of Templates: time 0.004877/0.01511, allocations: 3.509 MB / 355.3 MB, free: 9.586 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.739436497911811]