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.0006357/0.0006357, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008311/0.001467, allocations: 440 kB / 10.41 MB, free: 284 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.0006595/0.0006595, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009716/0.001631, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08864/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.03618/0.03618, allocations: 8.618 MB / 252.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004642/0.04082, allocations: 3.133 MB / 255.9 MB, free: 3.484 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 1.303e-06/1.303e-06, allocations: 0 / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.398e-05, allocations: 6.25 kB / 257.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.001922/0.001936, allocations: 1.894 MB / 259.1 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.002898, allocations: 0.5795 MB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.002954, allocations: 4 kB / 259.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.002988, allocations: 19.69 kB / 259.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.003062, allocations: 39.67 kB / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.003418, allocations: 175.3 kB / 259.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003597, allocations: 199.4 kB / 260.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.003703, allocations: 42.47 kB / 260.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.003857, allocations: 158.7 kB / 260.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.003952, allocations: 79.69 kB / 260.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.003979, allocations: 19.94 kB / 260.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.004464, allocations: 159.8 kB / 260.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.004497, allocations: 31.88 kB / 260.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.004543, allocations: 43.88 kB / 260.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.004805, allocations: 247.2 kB / 260.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.004815, allocations: 0 / 260.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004816, allocations: 0 / 260.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.004826, allocations: 0 / 260.8 MB, free: 14.51 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.0005605/0.005386, allocations: 0.5105 MB / 261.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.005414, allocations: 12.03 kB / 261.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.005459, allocations: 32.91 kB / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.005615, allocations: 188.8 kB / 261.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005626, allocations: 12.38 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005652, allocations: 16.38 kB / 261.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.005839, allocations: 260.5 kB / 261.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.005848, allocations: 4.172 kB / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005859, allocations: 384 / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005865, allocations: 4.375 kB / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.005911, allocations: 31.86 kB / 261.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.00633, allocations: 303.9 kB / 262.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.006452, allocations: 66.17 kB / 262.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.00649, allocations: 40.77 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.006498, allocations: 0 / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.006616, allocations: 115.2 kB / 262.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.006618, allocations: 0 / 262.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001776/0.006795, allocations: 128.8 kB / 262.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.006824, allocations: 59.41 kB / 262.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.006945, allocations: 240.9 kB / 262.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.006964, allocations: 37.7 kB / 262.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.007023, allocations: 128.9 kB / 263 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.007058, allocations: 71.44 kB / 263.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.00711, allocations: 57.95 kB / 263.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.007186, allocations: 346.8 kB / 263.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.007213, allocations: 20.27 kB / 263.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.007322, allocations: 253.9 kB / 263.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.00746, allocations: 201.4 kB / 263.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.007463, allocations: 4 kB / 263.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001609/0.007624, allocations: 177.3 kB / 264.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.007636, allocations: 11.94 kB / 264.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007641, allocations: 4 kB / 264.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.007655, allocations: 4 kB / 264.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.007889, allocations: 83.81 kB / 264.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.007897, allocations: 8 kB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.007974, allocations: 28.23 kB / 264.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.007984, allocations: 16 kB / 264.3 MB, free: 10.76 MB / 266.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.0001055/0.00809, allocations: 137.7 kB / 264.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.008113, allocations: 23.97 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.00815, allocations: 26.12 kB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008154, allocations: 8.031 kB / 264.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.008156, allocations: 0 / 264.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.008161, allocations: 3.984 kB / 264.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.008414, allocations: 310.5 kB / 264.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008416, allocations: 4 kB / 264.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.008579, allocations: 55.89 kB / 264.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.008602, allocations: 27.75 kB / 264.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.008604, allocations: 0 / 264.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.008618, allocations: 7.984 kB / 264.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.00862, allocations: 0 / 264.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008621, allocations: 0 / 264.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.00883, allocations: 246.2 kB / 265.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.008856, allocations: 8 kB / 265.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.008917, allocations: 12 kB / 265.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.00896, allocations: 15.97 kB / 265.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.008968, allocations: 4 kB / 265.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.009031, allocations: 90.75 kB / 265.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009031, allocations: 0 / 265.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.009244, allocations: 83.8 kB / 265.3 MB, free: 9.664 MB / 266.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.0001482/0.009392, allocations: 151.4 kB / 265.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.009531, allocations: 120.9 kB / 265.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.009538, allocations: 4 kB / 265.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.009597, allocations: 60.7 kB / 265.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.00986, allocations: 317.3 kB / 265.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.01055, allocations: 476.4 kB / 266.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.01059, allocations: 84.56 kB / 266.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.01066, allocations: 30.28 kB / 266.5 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01076, allocations: 99.34 kB / 266.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01076, allocations: 0 / 266.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of Templates: time 0.005354/0.01612, allocations: 3.742 MB / 270.4 MB, free: 4.586 MB / 266.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.426944368518889]