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.001055/0.001055, 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.001333/0.001333, allocations: 165 kB / 23.02 MB, free: 1.555 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.668 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.03836/0.03836, allocations: 8.622 MB / 268.6 MB, free: 4.949 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.274e-06/2.274e-06, allocations: 4 kB / 340.9 MB, free: 8.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.238e-05, allocations: 6.25 kB / 340.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002469/0.002491, allocations: 1.844 MB / 342.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.003436, allocations: 0.5602 MB / 343.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.003535, allocations: 0 / 343.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.003582, allocations: 19.69 kB / 343.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.003726, allocations: 35.67 kB / 343.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.004217, allocations: 191.3 kB / 343.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.004438, allocations: 211.4 kB / 343.7 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.004579, allocations: 36.5 kB / 343.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.00469, allocations: 119.6 kB / 343.9 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.004795, allocations: 75.69 kB / 344 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.004829, allocations: 19.94 kB / 344 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.005023, allocations: 147.9 kB / 344.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.005067, allocations: 59.67 kB / 344.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.005124, allocations: 59.77 kB / 344.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.005451, allocations: 291.1 kB / 344.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005453, allocations: 4 kB / 344.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005454, allocations: 0 / 344.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005458, allocations: 0 / 344.5 MB, free: 4.762 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.0006636/0.006122, allocations: 0.5809 MB / 345.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.006157, allocations: 8.031 kB / 345.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.006235, allocations: 44.73 kB / 345.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.006474, allocations: 211.6 kB / 345.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.006491, allocations: 12.38 kB / 345.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.006543, allocations: 16.38 kB / 345.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.006811, allocations: 288 kB / 345.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.006823, allocations: 192 / 345.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.00684, allocations: 4.375 kB / 345.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.00685, allocations: 384 / 345.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.006941, allocations: 39.91 kB / 345.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.007614, allocations: 483.3 kB / 346.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.007822, allocations: 99.06 kB / 346.3 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.007894, allocations: 39.66 kB / 346.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007905, allocations: 0 / 346.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.008071, allocations: 120.9 kB / 346.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.008072, allocations: 7.938 kB / 346.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003847/0.008457, allocations: 215.7 kB / 346.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.008509, allocations: 162.2 kB / 346.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.008701, allocations: 312.2 kB / 347.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.008721, allocations: 33.7 kB / 347.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.008798, allocations: 195.2 kB / 347.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.008839, allocations: 75.41 kB / 347.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.008906, allocations: 59.64 kB / 347.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.008967, allocations: 0.5117 MB / 348 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.009032, allocations: 32.25 kB / 348 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.00917, allocations: 322.5 kB / 348.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.009374, allocations: 246.7 kB / 348.6 MB, free: 256 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.009377, allocations: 0 / 348.6 MB, free: 256 kB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002963/0.009674, allocations: 233.5 kB / 348.8 MB, free: 16 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.009689, allocations: 8.094 kB / 348.8 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.009696, allocations: 4 kB / 348.8 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.009734, allocations: 8.047 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.009963, allocations: 63.8 kB / 348.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.009973, allocations: 4 kB / 348.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01009, allocations: 27.89 kB / 348.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01011, allocations: 8 kB / 348.9 MB, free: 15.89 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.0001758/0.01029, allocations: 192.4 kB / 349.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.01033, allocations: 35.81 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.01039, allocations: 30.11 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.0104, allocations: 0 / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.0104, allocations: 0 / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01041, allocations: 4 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.01093, allocations: 485.1 kB / 349.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01093, allocations: 4 kB / 349.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.0111, allocations: 28.03 kB / 349.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01111, allocations: 7.922 kB / 349.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.01113, allocations: 15.98 kB / 349.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01113, allocations: 0 / 349.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01114, allocations: 4 kB / 349.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.0116, allocations: 366.8 kB / 350.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.01163, allocations: 31.72 kB / 350.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.01167, allocations: 4 kB / 350.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01177, allocations: 11.98 kB / 350.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01182, allocations: 11.98 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.01183, allocations: 11.98 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.01198, allocations: 213.1 kB / 350.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 4 kB / 350.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.01234, allocations: 79.86 kB / 350.4 MB, free: 14.32 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.0002108/0.01256, allocations: 172.1 kB / 350.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.01285, allocations: 136.3 kB / 350.7 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01285, allocations: 0.9375 kB / 350.7 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.01295, allocations: 62.52 kB / 350.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.0133, allocations: 60.73 kB / 350.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.01428, allocations: 489.9 kB / 351.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.01435, allocations: 84.31 kB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.01444, allocations: 30.28 kB / 351.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.01449, allocations: 24.5 kB / 351.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01449, allocations: 0 / 351.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Templates: time 0.005527/0.02002, allocations: 3.263 MB / 354.7 MB, free: 9.996 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.9113461589440703]