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.0008091/0.0008091, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009994/0.001808, allocations: 435.8 kB / 10.33 MB, free: 368 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.002085/0.002085, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002111/0.004197, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.094/1.094, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1201/1.214, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.0406/0.0406, allocations: 8.609 MB / 252.6 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009703/0.0503, allocations: 3.133 MB / 255.7 MB, free: 3.613 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 3.096e-06/3.096e-06, allocations: 0 / 257 MB, free: 2.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.203e-05, allocations: 2.312 kB / 257 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003878/0.00392, allocations: 1.887 MB / 258.9 MB, free: 452 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.00511, allocations: 0.5679 MB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.005238, allocations: 3.938 kB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.428e-05/0.005292, allocations: 15.75 kB / 259.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.005409, allocations: 35.67 kB / 259.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.006004, allocations: 179.3 kB / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.006275, allocations: 203.4 kB / 259.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.006472, allocations: 38.53 kB / 259.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.006685, allocations: 170.7 kB / 260.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.006828, allocations: 71.7 kB / 260.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.006866, allocations: 16 kB / 260.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.00714, allocations: 163.8 kB / 260.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.007187, allocations: 39.86 kB / 260.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.007243, allocations: 43.81 kB / 260.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.00763, allocations: 243.2 kB / 260.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-05/0.007658, allocations: 0 / 260.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.007661, allocations: 0 / 260.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.173e-05/0.007703, allocations: 4 kB / 260.6 MB, free: 14.66 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.0009283/0.008631, allocations: 0.5027 MB / 261.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.008687, allocations: 15.98 kB / 261.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.008757, allocations: 28.91 kB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.009008, allocations: 192.8 kB / 261.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.00903, allocations: 12.38 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.009069, allocations: 16.38 kB / 261.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.009409, allocations: 264.5 kB / 261.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009425, allocations: 4.188 kB / 261.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.009443, allocations: 8.375 kB / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.00945, allocations: 384 / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.00952, allocations: 31.86 kB / 261.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.01015, allocations: 291.9 kB / 262 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.01032, allocations: 78.47 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.01037, allocations: 36.16 kB / 262.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.01038, allocations: 0 / 262.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.01058, allocations: 119.2 kB / 262.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.916e-06/0.01058, allocations: 0 / 262.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002746/0.01086, allocations: 124.7 kB / 262.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.01092, allocations: 59.41 kB / 262.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.0111, allocations: 244.9 kB / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.01112, allocations: 37.7 kB / 262.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.0112, allocations: 132.9 kB / 262.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01125, allocations: 71.44 kB / 262.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.01132, allocations: 53.95 kB / 262.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.01145, allocations: 338.8 kB / 263.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.01149, allocations: 20.27 kB / 263.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.01168, allocations: 262.5 kB / 263.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01187, allocations: 200.9 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01187, allocations: 4 kB / 263.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000219/0.01209, allocations: 173.2 kB / 263.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01212, allocations: 8 kB / 263.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.01213, allocations: 4.469 kB / 263.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01214, allocations: 8 kB / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.0125, allocations: 91.81 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01251, allocations: 4 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01261, allocations: 23.84 kB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01262, allocations: 12 kB / 264 MB, free: 10.92 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.0001781/0.0128, allocations: 145.7 kB / 264.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01283, allocations: 19.98 kB / 264.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.01288, allocations: 30.11 kB / 264.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01288, allocations: 4 kB / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01289, allocations: 0 / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01289, allocations: 3.984 kB / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.01325, allocations: 310.5 kB / 264.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01325, allocations: 0 / 264.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.01348, allocations: 51.88 kB / 264.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.01352, allocations: 27.75 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01352, allocations: 3.938 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.01354, allocations: 15.98 kB / 264.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.01355, allocations: 4 kB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01355, allocations: 0 / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.01384, allocations: 246.6 kB / 264.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.01387, allocations: 8 kB / 264.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.01396, allocations: 4 kB / 264.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01401, allocations: 15.97 kB / 264.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.01402, allocations: 4 kB / 264.9 MB, free: 9.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.01409, allocations: 90.75 kB / 265 MB, free: 9.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01409, allocations: 0 / 265 MB, free: 9.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.01437, allocations: 87.8 kB / 265.1 MB, free: 9.82 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.0002765/0.01464, allocations: 144.2 kB / 265.2 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.01486, allocations: 116.9 kB / 265.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.01487, allocations: 8.922 kB / 265.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.01494, allocations: 44.78 kB / 265.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01522, allocations: 80.84 kB / 265.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.01675, allocations: 475.7 kB / 265.9 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.01682, allocations: 84.56 kB / 266 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.0169, allocations: 30.28 kB / 266 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.01703, allocations: 99.36 kB / 266.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01703, allocations: 0 / 266.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of Templates: time 0.007328/0.02436, allocations: 3.729 MB / 269.9 MB, free: 5.039 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.675684313289821]