Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007196/0.0007196, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001866, 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.001533/0.001533, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.003174, 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08947/1.103, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04124/0.04124, allocations: 9.774 MB / 253.7 MB, free: 5.621 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006026/0.04726, allocations: 3.49 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 258.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.505e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002902/0.002917, allocations: 1.883 MB / 260.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.003902, allocations: 0.5717 MB / 261 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.003991, allocations: 0 / 261 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.004039, allocations: 23.67 kB / 261 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.004157, allocations: 35.67 kB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.0046, allocations: 171.4 kB / 261.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.004852, allocations: 207.4 kB / 261.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.004983, allocations: 38.52 kB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.005199, allocations: 162.7 kB / 261.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.005317, allocations: 79.64 kB / 261.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.005352, allocations: 16 kB / 261.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.005626, allocations: 163.8 kB / 261.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.005668, allocations: 31.88 kB / 261.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.005725, allocations: 43.88 kB / 261.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.006086, allocations: 247.2 kB / 262.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.0061, allocations: 0 / 262.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.006101, allocations: 4 kB / 262.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.006116, allocations: 0 / 262.2 MB, free: 13.18 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.000787/0.006903, allocations: 0.5143 MB / 262.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.006933, allocations: 8.031 kB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.006995, allocations: 28.91 kB / 262.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.007228, allocations: 180.8 kB / 262.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.007248, allocations: 16.36 kB / 262.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.007291, allocations: 24.3 kB / 262.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.007586, allocations: 258.5 kB / 263.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.0076, allocations: 192 / 263.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.007618, allocations: 4.375 kB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.007626, allocations: 4.375 kB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.007709, allocations: 29.89 kB / 263.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.00824, allocations: 295.9 kB / 263.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.00836, allocations: 78.45 kB / 263.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.008397, allocations: 36.77 kB / 263.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.008406, allocations: 4 kB / 263.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.008527, allocations: 114.2 kB / 263.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.008529, allocations: 0 / 263.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001717/0.0087, allocations: 121.6 kB / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.008736, allocations: 59.41 kB / 263.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.00886, allocations: 248.9 kB / 264.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.00888, allocations: 33.7 kB / 264.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.008934, allocations: 132.9 kB / 264.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.008976, allocations: 67.45 kB / 264.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.00903, allocations: 61.94 kB / 264.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.009117, allocations: 338.8 kB / 264.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.009144, allocations: 20.27 kB / 264.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.009258, allocations: 262.5 kB / 265 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.009404, allocations: 193.5 kB / 265.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.009409, allocations: 11.94 kB / 265.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001559/0.009565, allocations: 176.9 kB / 265.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.009578, allocations: 12.45 kB / 265.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.009583, allocations: 8 kB / 265.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.009593, allocations: 4 kB / 265.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.009825, allocations: 87.27 kB / 265.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.009833, allocations: 15.91 kB / 265.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.009906, allocations: 23.84 kB / 265.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.009915, allocations: 12 kB / 265.6 MB, free: 9.426 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) \"Input sample one step ago u[n-1]\" 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.000111/0.01003, allocations: 137.7 kB / 265.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01005, allocations: 27.97 kB / 265.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.01008, allocations: 26.11 kB / 265.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01009, allocations: 4 kB / 265.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01009, allocations: 0 / 265.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01009, allocations: 0 / 265.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.01034, allocations: 317.8 kB / 266.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01034, allocations: 0 / 266.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.0105, allocations: 47.94 kB / 266.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.01052, allocations: 27.75 kB / 266.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01053, allocations: 4 kB / 266.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01054, allocations: 8 kB / 266.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01054, allocations: 3.938 kB / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01054, allocations: 0 / 266.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01075, allocations: 243.3 kB / 266.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.01077, allocations: 8 kB / 266.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.01084, allocations: 11.98 kB / 266.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01088, allocations: 7.984 kB / 266.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01089, allocations: 7.984 kB / 266.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.01096, allocations: 86.77 kB / 266.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 4 kB / 266.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01117, allocations: 79.8 kB / 266.6 MB, free: 8.34 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.0001618/0.01133, allocations: 156.2 kB / 266.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01148, allocations: 121.1 kB / 266.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.01149, allocations: 4 kB / 266.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.01154, allocations: 44.78 kB / 266.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.01172, allocations: 73.2 kB / 267 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.01246, allocations: 480.2 kB / 267.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.01252, allocations: 80.33 kB / 267.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.01262, allocations: 38.2 kB / 267.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.01277, allocations: 103.3 kB / 267.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01277, allocations: 0 / 267.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of Templates: time 0.005726/0.0185, allocations: 3.729 MB / 271.4 MB, free: 3.551 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5659958412870765]