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.001428/0.001428, allocations: 92.7 kB / 19.44 MB, free: 324 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.001723/0.001723, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.06578/0.06578, allocations: 8.605 MB / 268.2 MB, free: 4.953 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.813e-06/1.813e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.512e-05, allocations: 8.641 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002286/0.002311, allocations: 1.806 MB / 341.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.003217, allocations: 0.5524 MB / 342.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.003348, allocations: 0 / 342.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.003403, allocations: 15.75 kB / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.003546, allocations: 39.61 kB / 342.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.004082, allocations: 187.4 kB / 342.7 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.004315, allocations: 215.4 kB / 342.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004435, allocations: 32.56 kB / 343 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.004558, allocations: 123.6 kB / 343.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.004649, allocations: 71.7 kB / 343.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.004683, allocations: 23.98 kB / 343.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.004875, allocations: 143.8 kB / 343.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.004912, allocations: 51.77 kB / 343.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.004971, allocations: 67.69 kB / 343.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.005324, allocations: 334.9 kB / 343.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.005328, allocations: 8 kB / 343.8 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00533, allocations: 4 kB / 343.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.005337, allocations: 0 / 343.8 MB, free: 5.082 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.0007047/0.006041, allocations: 492.6 kB / 344.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.006075, allocations: 8.031 kB / 344.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.006165, allocations: 40.75 kB / 344.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.006393, allocations: 208.7 kB / 344.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.006408, allocations: 16.36 kB / 344.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.006448, allocations: 20.38 kB / 344.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.006734, allocations: 287.1 kB / 344.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006746, allocations: 192 / 344.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.006767, allocations: 4.375 kB / 344.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.006772, allocations: 4.375 kB / 344.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.006923, allocations: 63.91 kB / 344.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000742/0.007665, allocations: 432 kB / 345.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.007928, allocations: 134.6 kB / 345.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.008035, allocations: 60.86 kB / 345.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.008052, allocations: 4 kB / 345.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.00834, allocations: 147.3 kB / 345.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.008342, allocations: 0 / 345.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005132/0.008855, allocations: 272.2 kB / 345.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.008905, allocations: 166.1 kB / 346.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.009091, allocations: 261.9 kB / 346.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.009114, allocations: 33.7 kB / 346.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.009186, allocations: 148.5 kB / 346.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.009222, allocations: 63.48 kB / 346.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.009291, allocations: 65.86 kB / 346.7 MB, free: 1.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.009346, allocations: 342.8 kB / 347 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.009449, allocations: 56.25 kB / 347 MB, free: 1.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.009609, allocations: 289.9 kB / 347.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.009893, allocations: 237.5 kB / 347.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.009896, allocations: 0 / 347.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003823/0.01028, allocations: 289.9 kB / 347.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01029, allocations: 8 kB / 347.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.0103, allocations: 4 kB / 347.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.01032, allocations: 4 kB / 347.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.01056, allocations: 63.91 kB / 347.9 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.01057, allocations: 8.406 kB / 347.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.01075, allocations: 27.89 kB / 348 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.01076, allocations: 15.98 kB / 348 MB, free: 0.5195 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.0001449/0.01091, allocations: 154 kB / 348.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.01095, allocations: 31.86 kB / 348.1 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.01102, allocations: 30.09 kB / 348.2 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01102, allocations: 4 kB / 348.2 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01103, allocations: 0 / 348.2 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.01103, allocations: 0 / 348.2 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.01169, allocations: 489.9 kB / 348.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01169, allocations: 0 / 348.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.01193, allocations: 35.98 kB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01193, allocations: 0 / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.01196, allocations: 7.984 kB / 348.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01197, allocations: 0 / 348.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01197, allocations: 0 / 348.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.01265, allocations: 397.7 kB / 349.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.01269, allocations: 27.75 kB / 349.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.01274, allocations: 16.06 kB / 349.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.01292, allocations: 7.984 kB / 349.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.01298, allocations: 15.97 kB / 349.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.013, allocations: 8 kB / 349.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.01321, allocations: 185.2 kB / 349.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 0 / 349.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.01361, allocations: 83.8 kB / 349.4 MB, free: 15 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.0003003/0.01391, allocations: 167.5 kB / 349.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.01433, allocations: 163.8 kB / 349.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01433, allocations: 0 / 349.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01449, allocations: 67.91 kB / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.01492, allocations: 62.81 kB / 349.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.01625, allocations: 0.5065 MB / 350.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.01641, allocations: 142.2 kB / 350.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.01653, allocations: 26.28 kB / 350.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.01659, allocations: 28.5 kB / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01659, allocations: 0 / 350.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008377/0.02497, allocations: 3.232 MB / 353.8 MB, free: 10.61 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.419573775026947]